Only set store preferences if not null in head.html

Этот коммит содержится в:
JoramWilander
2016-01-27 11:44:00 -05:00
родитель d2a1950d3c
Коммит 5c27aff06f

Просмотреть файл

@@ -77,7 +77,9 @@
window.mm_preferences = {{ .Preferences }};
$(function() {
PreferenceStore.setPreferences(window.mm_preferences);
if (window.mm_preferences != null) {
PreferenceStore.setPreferences(window.mm_preferences);
}
});
if ({{.SessionTokenIndex}} >= 0) {