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 (online IN (0, 1))
);
CREATE INDEX ix_user_nichname ON user (nichname);
CREATE INDEX ix_user_nickname ON user (nickname);
CREATE TABLE metadata (
created DATETIME,
modified DATETIME,

View File

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