Commit: cdad7277b2eb278990c1153a64b53d99e474d7b6 Author: Peter Cowburn <[email protected]> Tue, 23 Jun 2015 23:41:07 +0100 Parents: d21f458fc610449296d5153b1636c6a46976b093 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=cdad7277b2eb278990c1153a64b53d99e474d7b6 Log: fix "Uncaught TypeError: (intermediate value)(...) is not a function" JavaScript error Changed paths: M js/common.js Diff: diff --git a/js/common.js b/js/common.js index fc5e1b3..32d2b2c 100755 --- a/js/common.js +++ b/js/common.js @@ -3,12 +3,12 @@ String.prototype.escapeSelector = function() { return this.replace(/(.|#)([ #;&,.+*~\':"!^$\[\]\(\)=>|\/])/g, '$1' + '\\\\$2'); -} +}; String.prototype.toInt = function() { return parseInt(this); -} +}; /** {{{ * jQuery.ScrollTo - Easy element scrolling using jQuery. -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
