1
0

pedantic style change

This commit is contained in:
dtb 2021-11-13 00:17:27 -05:00
parent 822d77eca6
commit 7f8f605c99

View File

@ -4,8 +4,9 @@
/* sets the sheet to the sheet in the cookie, if the user saved their /* sets the sheet to the sheet in the cookie, if the user saved their
* preferences */ * preferences */
window.initializesheets = function() { window.initializesheets = function() {
var sheet = window.getCookie('sheet'); var sheet;
if(sheet != '') window.setStyling(sheet); if((sheet = window.getCookie('sheet')) != '')
window.setStyling(sheet);
}; };
/* fetches the current styling value */ /* fetches the current styling value */