frio - bookmarklet - open jot only if it is available

pull/2613/head
rabuzarus 2016-06-16 00:27:45 +02:00
rodzic dfce0f5b64
commit 7b602a20e6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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