From 6690cf48831f5a077436f4c0782b14ad541bfbbd Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 19 Nov 2024 17:19:32 +0100 Subject: [PATCH] www/dbq/html/default.js --- .githooks/pre-commit | 2 ++ www/dbq/html/default.js | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 44d2efcc..a953c4c3 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -30,6 +30,8 @@ if which minify > /dev/null; then if [ "$?" = "0" ]; then echo "cat "$min.tmp" > "$min"" cat "$min.tmp" > "$min" + else + echo "minify FAILED!" fi rm "$min.tmp" diff --git a/www/dbq/html/default.js b/www/dbq/html/default.js index 4cb7b130..c3c6b2f4 100644 --- a/www/dbq/html/default.js +++ b/www/dbq/html/default.js @@ -164,7 +164,6 @@ function dbqLoad(DBQ) { document.querySelectorAll("body > h1 a.title-nav-db, body > h1 a.title-nav-table").forEach(function(e) { var title = e.innerHTML; - //console.log(e.className+': '+window._dbq[e.className+'.base']); var cname = e.className.replace('title-nav-','') var base = window._dbq[cname+'.base'].replace(/\/[^\/]+$/,''); var url = base + '/ls' + '.json'; -- 2.47.3