Remove protocol and host.
This commit is contained in:
@@ -97,7 +97,7 @@ $.save = function( commitMessage ) {
|
|||||||
var markdown = 'markdown';
|
var markdown = 'markdown';
|
||||||
var txt = editorSession.getValue();
|
var txt = editorSession.getValue();
|
||||||
var msg = defaultCommitMessage();
|
var msg = defaultCommitMessage();
|
||||||
var newLocation = location.protocol + '//' + location.host + baseUrl;
|
var newLocation = baseUrl;
|
||||||
|
|
||||||
// 'a%2Fb' => a/b
|
// 'a%2Fb' => a/b
|
||||||
if (pathName) {
|
if (pathName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user