Skip to content

Commit cdad727

Browse files
committed
fix "Uncaught TypeError: (intermediate value)(...) is not a function" JavaScript error
1 parent d21f458 commit cdad727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
String.prototype.escapeSelector = function()
44
{
55
return this.replace(/(.|#)([ #;&,.+*~\':"!^$\[\]\(\)=>|\/])/g, '$1' + '\\\\$2');
6-
}
6+
};
77

88
String.prototype.toInt = function()
99
{
1010
return parseInt(this);
11-
}
11+
};
1212

1313
/** {{{
1414
* jQuery.ScrollTo - Easy element scrolling using jQuery.

0 commit comments

Comments
 (0)