frio - bookmarklet - open jot only if it is available
This commit is contained in:
parent
dfce0f5b64
commit
7b602a20e6
|
@ -63,7 +63,7 @@ $(document).ready(function(){
|
||||||
});
|
});
|
||||||
|
|
||||||
// bookmarklet page needs an jot modal which appears automatically
|
// 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();
|
jotShow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue