diff --git a/frontends/etiquette_flask/static/js/spinner.js b/frontends/etiquette_flask/static/js/spinner.js index 871f0b5..e90ff54 100644 --- a/frontends/etiquette_flask/static/js/spinner.js +++ b/frontends/etiquette_flask/static/js/spinner.js @@ -10,7 +10,7 @@ function Spinner(element) if (delay) { - this.delayed_showing_timeout = setTimeout(this.show, delay); + this.delayed_showing_timeout = setTimeout(function(thisthis){thisthis.show()}, delay, this); } else {