From cf16f1d0abc32164d5db8c7b71dcfa23c54ef557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 18 Jul 2018 17:54:10 +0200 Subject: [PATCH] unfin --- lib/modulekit/form | 2 +- lib/modulekit/lang | 2 +- modulekit | 2 +- src/CategoryOverpass.js | 2 +- src/index.js | 4 ++++ 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/modulekit/form b/lib/modulekit/form index 464a0cbf..8a2d3015 160000 --- a/lib/modulekit/form +++ b/lib/modulekit/form @@ -1 +1 @@ -Subproject commit 464a0cbfab6acad402bc23e7f050bb01ca136b84 +Subproject commit 8a2d3015ec181b14441037a79e7db3869453b135 diff --git a/lib/modulekit/lang b/lib/modulekit/lang index eb4addba..89c651db 160000 --- a/lib/modulekit/lang +++ b/lib/modulekit/lang @@ -1 +1 @@ -Subproject commit eb4addba3c06cd2ffbb973fb9c8193a1af655aec +Subproject commit 89c651dbbbbd8464f78029d7479e9b719d302aae diff --git a/modulekit b/modulekit index 3726732c..8c875354 160000 --- a/modulekit +++ b/modulekit @@ -1 +1 @@ -Subproject commit 3726732cfa009857e14e63b471d4370a18f6b385 +Subproject commit 8c875354b75c413e4ab3c45a97bc270dd86397fc diff --git a/src/CategoryOverpass.js b/src/CategoryOverpass.js index af2f0d75..6fe7b831 100644 --- a/src/CategoryOverpass.js +++ b/src/CategoryOverpass.js @@ -94,7 +94,7 @@ function CategoryOverpass (options, data) { this.updatePopupContent(ob, ob.popup) - if (document.getElementById('content').className === 'details') { + if (document.getElementById('content').className === 'details open') { showDetails(ob, this) } }.bind(this)) diff --git a/src/index.js b/src/index.js index cef5151e..831fe3ed 100644 --- a/src/index.js +++ b/src/index.js @@ -234,6 +234,10 @@ function show (id, options, callback) { }) } +function updateShowDetails (ob, data) { + console.log('update', ob, data) +} + window.showDetails = function (data, category) { var div, h, dt, dd, li, a var k