aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-12-01 10:55:39 +0100
committermarijus <mario@localhost.localdomain>2013-12-01 10:55:39 +0100
commit1ff69605be20d8a7ca721a2a881b15e71d87fa46 (patch)
treef24a7e4a6124f912ddd1f6748e7a2121c596558c /view/theme/redbasic/js
parentd43118fdcfe1d4f89698ead0d3324ca81695cf4a (diff)
downloadvolse-hubzilla-1ff69605be20d8a7ca721a2a881b15e71d87fa46.tar.gz
volse-hubzilla-1ff69605be20d8a7ca721a2a881b15e71d87fa46.tar.bz2
volse-hubzilla-1ff69605be20d8a7ca721a2a881b15e71d87fa46.zip
some jot tools structuring and styling
Diffstat (limited to 'view/theme/redbasic/js')
-rw-r--r--view/theme/redbasic/js/redbasic.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index e40a94fcc..eb50c188e 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -18,6 +18,14 @@ function cmtBbClose(comment, id) {
$(document).ready(function() {
+document.jotpermsunlock = 'icon-unlock';
+document.jotpermslock = 'icon-lock';
+
+if($('#jot-perms-icon').hasClass('lock'))
+ $('#jot-perms-icon').addClass('icon-lock');
+if($('#jot-perms-icon').hasClass('unlock'))
+ $('#jot-perms-icon').addClass('icon-unlock');
+
$('.group-edit-icon').hover(
function() {
$(this).addClass('icon'); $(this).removeClass('iconspacer');},
@@ -68,4 +76,4 @@ $(document).ready(function(){
}
};
setInterval(function () {checkNotify();}, 10 * 1000);
-}); \ No newline at end of file
+});