projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Further fixes to javascript multiple class handling.
[fa-stable.git]
/
js
/
utils.js
diff --git
a/js/utils.js
b/js/utils.js
index 478cd158e3d326ab1b8acd732144a352f239359f..c0df0b85e01e7b86feb5a22c35dcdc92b1cf50b1 100644
(file)
--- a/
js/utils.js
+++ b/
js/utils.js
@@
-356,5
+356,6
@@
function element_pos(e) {
}
function string_contains(haystack, needle) {
- return haystack.indexOf(needle) > -1;
+ var words = haystack.split(' ');
+ return words.indexOf(needle) > -1;
}