ep_author_hover
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -9,3 +9,3 @@ { | ||
"description": "Adds author names to span titles (shows on hover), works as authors change their name. Hover includes author color and fast switching between author spans. Hat tip to Martyn York for the initial work on this.", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
@@ -8,6 +8,6 @@ var _ = require('ep_etherpad-lite/static/js/underscore'); | ||
showAuthor.enable(context); | ||
clientVars.plugins.plugins.ep_author_hover = {}; | ||
/* init */ | ||
if (padcookie.getPref("author-hover") === false) { | ||
$('#options-author-hover').val() | ||
$('#options-author-hover').val(); | ||
$('#options-author-hover').attr('checked','unchecked'); | ||
@@ -28,7 +28,7 @@ $('#options-author-hover').attr('checked',false); | ||
if($('#options-author-hover').is(':checked')) { | ||
clientVars.plugins.plugins.ep_author_hover.enabled = true; | ||
padcookie.setPref("author-hover", true) | ||
clientVars.plugins.plugins.ep_author_hover = true; | ||
} else { | ||
padcookie.setPref("author-hover", false) | ||
clientVars.plugins.plugins.ep_author_hover = true; | ||
clientVars.plugins.plugins.ep_author_hover.enabled = false; | ||
} | ||
@@ -35,0 +35,0 @@ }); |
8188
173