diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-01-13 23:00:48 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-01-13 23:00:48 +0100 |
commit | 2f6b072bb13ce9d7c7784136bedec651b73ae11b (patch) | |
tree | 3796cdb666176a1a50eeda9043ccc998f3e199df /phpBB/adm/style/editor.js | |
parent | 49edfa49ab9b475e02997f8a89050acc73bf30c8 (diff) | |
download | forums-2f6b072bb13ce9d7c7784136bedec651b73ae11b.tar forums-2f6b072bb13ce9d7c7784136bedec651b73ae11b.tar.gz forums-2f6b072bb13ce9d7c7784136bedec651b73ae11b.tar.bz2 forums-2f6b072bb13ce9d7c7784136bedec651b73ae11b.tar.xz forums-2f6b072bb13ce9d7c7784136bedec651b73ae11b.zip |
[ticket/11314] Add missing radix parameters
PHPBB3-11314
Diffstat (limited to 'phpBB/adm/style/editor.js')
-rw-r--r-- | phpBB/adm/style/editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/style/editor.js b/phpBB/adm/style/editor.js index c9e8afe08e..2b814a10c6 100644 --- a/phpBB/adm/style/editor.js +++ b/phpBB/adm/style/editor.js @@ -10,7 +10,7 @@ var theSelection = false; // Check for Browser & Platform for PC & IE specific bits // More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html var clientPC = navigator.userAgent.toLowerCase(); // Get client info -var clientVer = parseInt(navigator.appVersion); // Get browser version +var clientVer = parseInt(navigator.appVersion, 10); // Get browser version var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1)); var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1)); |