aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/js/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
+});