diff --git a/org.jgrapes.osgi.webconlet.logviewer/resources/org/jgrapes/osgi/webconlet/logviewer/LogViewer-functions.ftl.js b/org.jgrapes.osgi.webconlet.logviewer/resources/org/jgrapes/osgi/webconlet/logviewer/LogViewer-functions.ftl.js index d828618..9ff3f20 100644 --- a/org.jgrapes.osgi.webconlet.logviewer/resources/org/jgrapes/osgi/webconlet/logviewer/LogViewer-functions.ftl.js +++ b/org.jgrapes.osgi.webconlet.logviewer/resources/org/jgrapes/osgi/webconlet/logviewer/LogViewer-functions.ftl.js @@ -133,7 +133,7 @@ JGConsole.registerConletFunction( return; } let view = conlet.element().querySelector(":scope .jgrapes-osgi-logviewer-view"); - if (view === 0) { + if (view == null) { return; } let api = getApi(view); @@ -153,7 +153,7 @@ JGConsole.registerConletFunction( return } let view = conlet.element().querySelector(":scope .jgrapes-osgi-logviewer-view"); - if (view == 0) { + if (view == null) { return; } let api = getApi(view);