fixing string concatenation in javascript

refs ae54364d7c
This commit is contained in:
Thomas Mueller 2013-01-08 00:32:41 +01:00
parent 0dda8f5d1c
commit 7b9e6d2f2c

View file

@ -593,7 +593,7 @@ $(document).ready(function() {
break;
case 'web':
if(name.substr(0,8)!='https://' && name.substr(0,7)!='http://'){
name='http://'.name;
name='http://'+name;
}
var localName=name;
if(localName.substr(localName.length-1,1)=='/'){//strip /