diff --git a/default.tpl b/default.tpl index ae6cda3..ba38cd8 100644 --- a/default.tpl +++ b/default.tpl @@ -703,9 +703,8 @@ function dialog(content, options) { ).click(function(ev){ ev.stopImmediatePropagation() }) - setTimeout(function(){ - ret.find(':input:not(:disabled):first').focus() - }) + setTimeout(()=> + ret.find(':input:not(:disabled):first').focus() ) return ret } // dialog @@ -983,8 +982,8 @@ function newQ(){ function changeSort(){ dialog([ $('

').text('{.!Sort by.}'), - $('
').html(objToArr(sortOptions, function(label,code){ - return $('