1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-24 23:16:15 +02:00

Use querySelector

This commit is contained in:
Jakub Vrana
2018-01-11 12:07:33 +01:00
parent 9cb281868f
commit 58b2904d62
4 changed files with 7 additions and 7 deletions

View File

@@ -60,7 +60,7 @@ function tablesFilterInput() {
}
if (sessionStorage){
var db = qs('#dbs').getElementsByTagName('select')[0];
var db = qs('#dbs').querySelector('select');
db = db.options[db.selectedIndex].text;
if (db == sessionStorage.getItem('adminer_tables_filter_db') && sessionStorage.getItem('adminer_tables_filter')){
qs('#filter-field').value = sessionStorage.getItem('adminer_tables_filter');