mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Remove redundant wait loading report content
Co-authored-by: Gaetan Craig-Riou <40413322+rioug@users.noreply.github.com>
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
%p.notice= t ".report_is_big"
|
||||
%p= link_to t(".display_anyway"), file_url, target: "_blank",
|
||||
class: "button icon icon-file",
|
||||
onclick: "(async function (element) { element.outerHTML = await (await (await fetch(element.href))).text() })(this); return false;"
|
||||
onclick: "(async function (element) { element.outerHTML = await (await fetch(element.href)).text() })(this); return false;"
|
||||
|
||||
Reference in New Issue
Block a user