Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Variable mistyped in adding $.afui.showMask() timeout parameter #911

Open
mithenks opened this issue Apr 18, 2016 · 0 comments
Open

Variable mistyped in adding $.afui.showMask() timeout parameter #911

mithenks opened this issue Apr 18, 2016 · 0 comments

Comments

@mithenks
Copy link

When I try to show a loading mask with
$.afui.showMask('Fetching data...');
I'm getting the following error:
Uncaught ReferenceError: timeout is not defined

This is due to a mistyped variable name. Line 622 of /master/src/af.ui.js
if (!value || typeof value !== "number") timeout = 15000;
must be
if (!value || typeof value !== "number") value = 15000;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant