diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-05-05 16:53:15 -0400 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-05-05 16:53:15 -0400 |
| commit | 4a3488f925aeda6a878b151243c6405483a72fb7 (patch) | |
| tree | 4a313c25c18ac1ceadbcddcdeef94b6299ffea33 /www/js | |
| parent | 14bf9a2f52ec3bee4286e2c40d09364e3fcea978 (diff) | |
#234 - fixed indexOf bug
Former-commit-id: ac0de9095a8479dc292a0115804ccb3aae9e3e0c
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/WizardCtrl.js | 2 |
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; |
