From: rabuzarus <> Date: Wed, 15 Jun 2016 22:20:00 +0000 (+0200) Subject: frio: open jot modal automatically on bookmarklet page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dfce0f5b64c002f11daa4f6472a832ca0ec0d858;p=friendica.git frio: open jot modal automatically on bookmarklet page --- diff --git a/view/theme/frio/js/modal.js b/view/theme/frio/js/modal.js index 0a881f10f6..cba733a808 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(){