]> git.mxchange.org Git - friendica.git/commitdiff
frio - bookmarklet - open jot only if it is available
authorrabuzarus <>
Wed, 15 Jun 2016 22:27:45 +0000 (00:27 +0200)
committerrabuzarus <>
Wed, 15 Jun 2016 22:27:45 +0000 (00:27 +0200)
view/theme/frio/js/modal.js

index cba733a8087c7794625d48942b895a1e2e65c3ac..fcaaadcc7bdaf24315a4810aff4c2029d2a2408d 100644 (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();
        }