From: rabuzarus <> Date: Wed, 15 Jun 2016 22:27:45 +0000 (+0200) Subject: frio - bookmarklet - open jot only if it is available X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7b602a20e6d337a663cf3b71142d0504b378e29e;p=friendica.git frio - bookmarklet - open jot only if it is available --- diff --git a/view/theme/frio/js/modal.js b/view/theme/frio/js/modal.js index cba733a808..fcaaadcc7b 100644 --- a/view/theme/frio/js/modal.js +++ b/view/theme/frio/js/modal.js @@ -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(); }