Fix 'this' in the delayed spinner timeout.
This commit is contained in:
parent
311d1bbf8b
commit
83b7143753
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ function Spinner(element)
|
||||||
|
|
||||||
if (delay)
|
if (delay)
|
||||||
{
|
{
|
||||||
this.delayed_showing_timeout = setTimeout(this.show, delay);
|
this.delayed_showing_timeout = setTimeout(function(thisthis){thisthis.show()}, delay, this);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue