dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix eslint warnings and switch to error code
[lhc/web/wiklou.git]
/
resources
/
src
/
jquery
/
jquery.suggestions.js
diff --git
a/resources/src/jquery/jquery.suggestions.js
b/resources/src/jquery/jquery.suggestions.js
index
39c601f
..
663950a
100644
(file)
--- a/
resources/src/jquery/jquery.suggestions.js
+++ b/
resources/src/jquery/jquery.suggestions.js
@@
-116,7
+116,7
@@
if ( context.data.timerID !== null ) {
clearTimeout( context.data.timerID );
}
- if (
$.isFunction( context.config.cancel )
) {
+ if (
typeof context.config.cancel === 'function'
) {
context.config.cancel.call( context.data.$textbox );
}
},