diff --git a/.gitignore b/.gitignore index 33d620de8..1ca42931b 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,5 @@ runestone/*/test/build_info # IDEs .vscode/ **/sphinx-enki-info.txt + +*.DS_Store \ No newline at end of file diff --git a/runestone/common/js/bookfuncs.js b/runestone/common/js/bookfuncs.js index 8eacbd4df..72e33f1b2 100644 --- a/runestone/common/js/bookfuncs.js +++ b/runestone/common/js/bookfuncs.js @@ -172,7 +172,7 @@ function isLoggedIn() { function handleLoginLogout() { if (shouldLogin()) { - data = {timezoneoffset: (new Date()).getTimezoneOffset()/60 } + data = { timezoneoffset: (new Date()).getTimezoneOffset() } jQuery.get(eBookConfig.ajaxURL + 'getuser', data, gotUser).error(notifyRunestoneComponents); } else { $(document).trigger("runestone:logout")