frio - bookmarklet - open jot only if it is available

This commit is contained in:
rabuzarus 2016-06-16 00:27:45 +02:00
parent dfce0f5b64
commit 7b602a20e6
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ $(document).ready(function(){
});
// bookmarklet page needs an jot modal which appears automatically
if(window.location.pathname.indexOf("/bookmarklet") >=0){
if(window.location.pathname.indexOf("/bookmarklet") >=0 && $("#jot-modal").length){
jotShow();
}