From dfce0f5b64c002f11daa4f6472a832ca0ec0d858 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 16 Jun 2016 00:20:00 +0200 Subject: [PATCH] frio: open jot modal automatically on bookmarklet page --- view/theme/frio/js/modal.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/view/theme/frio/js/modal.js b/view/theme/frio/js/modal.js index 0a881f10f..cba733a80 100644 --- a/view/theme/frio/js/modal.js +++ b/view/theme/frio/js/modal.js @@ -62,6 +62,11 @@ $(document).ready(function(){ toggleJotNav(this); }); + // bookmarklet page needs an jot modal which appears automatically + if(window.location.pathname.indexOf("/bookmarklet") >=0){ + jotShow(); + } + // Open filebrowser for elements with the class "image-select" // The following part handles the filebrowser for field_fileinput.tpl $("body").on("click", ".image-select", function(){