Bookmarklet Window closes itself after submit.
This commit is contained in:
parent
d9914664f6
commit
e2d6bf4c63
|
@ -10,7 +10,7 @@ function addBookmark(event) {
|
|||
url: 'ajax/addBookmark.php',
|
||||
data: 'url=' + encodeURI(url) + '&title=' + encodeURI(title) + '&tags=' + encodeURI(tags),
|
||||
success: function(data){
|
||||
location.href='index.php';
|
||||
window.close();
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue