1
1
Fork 0

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

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();
}