edit bookmark

Editing an already added bookmark is no possible
This commit is contained in:
FrenchHope 2017-07-14 16:11:27 +02:00 committed by GitHub
parent 6b9f2f88e0
commit bb3bf7c986

View File

@ -29,7 +29,7 @@ function shareURL(){
if(changeInfo.url){ if(changeInfo.url){
var new_url var new_url
new_url = changeInfo.url new_url = changeInfo.url
if(new_url.includes("action=add") == false){ if((new_url.includes("action=add") == false) && (new_url.includes("edit.php") == false)){
browser.windows.remove(win.id); browser.windows.remove(win.id);
} }
} }