From 7b602a20e6d337a663cf3b71142d0504b378e29e Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 16 Jun 2016 00:27:45 +0200 Subject: [PATCH] frio - bookmarklet - open jot only if it is available --- view/theme/frio/js/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.5