Added cookie to save option showing author colors

This commit is contained in:
Stefan 'Gared 2012-02-27 15:24:36 +00:00
parent d2cd1213ec
commit c54d47e1c6
3 changed files with 17 additions and 2 deletions

View file

@ -69,6 +69,7 @@ var padeditor = (function()
});
padutils.bindCheckboxChange($("#options-colorscheck"), function()
{
padcookie.setPref('showAuthorshipColors', padutils.getCheckbox("#options-colorscheck"));
pad.changeViewOption('showAuthorColors', padutils.getCheckbox("#options-colorscheck"));
});
$("#viewfontmenu").change(function()