get_local_option for ui style, todo: set_local_option

This commit is contained in:
open-trade
2021-12-29 17:53:36 +08:00
parent 365fc90d8b
commit 3491c79cbc
5 changed files with 9 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ function getSessionsStyleOption(type) {
}
function getSessionsStyle(type) {
var v = handler.get_option(getSessionsStyleOption(type));
var v = handler.get_local_option(getSessionsStyleOption(type));
if (!v) v = type == "ab" ? "list" : "tile";
return v;
}