Skip to content
This repository was archived by the owner on Nov 22, 2021. It is now read-only.

Commit e5da3e8

Browse files
author
Ke, Mingze
committed
Fixed linkToBin
1 parent c339584 commit e5da3e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,8 @@ Code.init = function(toolbox) {
860860

861861
Code.bindClick('linkToBin', function () {
862862
var ctx = Code.getContext(),
863-
urls = Code.getUrlParts().pop();
863+
urls = Code.getUrlParts();
864+
urls.pop();
864865
localStorage.setItem(urls.join('/') + '/launcher.html', JSON.stringify(ctx));
865866
});
866867

0 commit comments

Comments
 (0)