summaryrefslogtreecommitdiff
path: root/www/js/WizardCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/WizardCtrl.js')
-rw-r--r--www/js/WizardCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js
index dd06fa91..c09270db 100644
--- a/www/js/WizardCtrl.js
+++ b/www/js/WizardCtrl.js
@@ -140,7 +140,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$
function stripProto(u)
{
- if (u.indexOf('://'))
+ if (u.indexOf('://')!=-1)
return u.substr(u.indexOf('://')+3);
else
return u;