From 1d838568a0ed759a20e43aa660334fdbe00af6a6 Mon Sep 17 00:00:00 2001 From: Philipp Schaefer Date: Thu, 31 Oct 2013 00:11:26 +0100 Subject: [PATCH] use correct function name in if statement --- code/utils_misc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/utils_misc.js b/code/utils_misc.js index 996580c1..0a99019e 100644 --- a/code/utils_misc.js +++ b/code/utils_misc.js @@ -2,7 +2,7 @@ window.aboutIITC = function() { var v = (script_info.script && script_info.script.version || script_info.dateTimeVersion) + ' ['+script_info.buildName+']'; - if (typeof android !== 'undefined' && android && android.getVersionCode) { + if (typeof android !== 'undefined' && android && android.getVersionName) { v += '[IITC Mobile '+android.getVersionName()+']'; }