Add slash at the beginning, right after instance URL
In case user didn't specified it at the end of it's instance URL
This commit is contained in:
parent
5a19eb5468
commit
ac4c691e0e
@ -14,7 +14,7 @@ function shareURL(){
|
|||||||
|
|
||||||
var tab = tabs[0];
|
var tab = tabs[0];
|
||||||
|
|
||||||
var url = instance + "bookmarks.php?action=add&address=" + encodeURIComponent(tab.url) + "&title=" + tabs[0].title;
|
var url = instance + "/bookmarks.php?action=add&address=" + encodeURIComponent(tab.url) + "&title=" + tabs[0].title;
|
||||||
widthInt = Number(windowWidth);
|
widthInt = Number(windowWidth);
|
||||||
heightInt = Number(windowHeight);
|
heightInt = Number(windowHeight);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user