19557 fix for IE

--HG--
branch : 1.x
extra : source : eba3e3fe35f4a5aa72d5f4b6ba9e31c26503d8b3
This commit is contained in:
Ken Wilkinson
2013-05-08 18:44:48 -04:00
parent 56a4f0712c
commit 0438074842

View File

@@ -18,7 +18,7 @@
var baseUrl = data.baseUrl;
// remove trailing slash if any
if (baseUrl.substr(-1) == '/')
if (baseUrl.slice(-1) == '/')
baseUrl = baseUrl.substr(0, baseUrl.length - 1);
var url = baseUrl