projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ec7626
)
frio: open jot modal automatically on bookmarklet page
author
rabuzarus
<>
Wed, 15 Jun 2016 22:20:00 +0000
(
00:20
+0200)
committer
rabuzarus
<>
Wed, 15 Jun 2016 22:20:00 +0000
(
00:20
+0200)
view/theme/frio/js/modal.js
patch
|
blob
|
history
diff --git
a/view/theme/frio/js/modal.js
b/view/theme/frio/js/modal.js
index 0a881f10f6f9d5aa06a35cfd94abf508c5c032ef..cba733a8087c7794625d48942b895a1e2e65c3ac 100644
(file)
--- 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(){