fix install

This commit is contained in:
j 2019-02-14 17:42:55 +05:30
parent a8942d79d2
commit 255de5664d
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ CREATE TABLE user (
CHECK (peered IN (0, 1)), CHECK (peered IN (0, 1)),
CHECK (online IN (0, 1)) CHECK (online IN (0, 1))
); );
CREATE INDEX ix_user_nichname ON user (nichname); CREATE INDEX ix_user_nickname ON user (nickname);
CREATE TABLE metadata ( CREATE TABLE metadata (
created DATETIME, created DATETIME,
modified DATETIME, modified DATETIME,

View file

@ -68,7 +68,7 @@ oml.ui.folders = function() {
function selectList(gainFocus) { function selectList(gainFocus) {
var split = ui._list.split(':'), var split = ui._list.split(':'),
index = userIndex[split[0]], index = userIndex ? userIndex[split[0]] : 0,
list = split[1], list = split[1],
$selectedList = !ui._list ? oml.$ui.librariesList $selectedList = !ui._list ? oml.$ui.librariesList
: !list ? oml.$ui[ : !list ? oml.$ui[