mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 11:44:41 +08:00
19557 fix for IE
--HG-- branch : 1.x extra : source : eba3e3fe35f4a5aa72d5f4b6ba9e31c26503d8b3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user