|
@@ -45,6 +45,7 @@ define(["amber/boot", "require"], function (boot, require) {
|
|
// pass
|
|
// pass
|
|
}
|
|
}
|
|
mixinToSettings(fromStorage || {});
|
|
mixinToSettings(fromStorage || {});
|
|
|
|
+ // TODO find less hackish way to store settings back to storage.
|
|
if (typeof window !== "undefined") {
|
|
if (typeof window !== "undefined") {
|
|
requirejs(['jquery'], function ($) {
|
|
requirejs(['jquery'], function ($) {
|
|
$(window).on('beforeunload', function () {
|
|
$(window).on('beforeunload', function () {
|