]> source.dussan.org Git - nextcloud-server.git/commit
Do not inject a #app-navigation-toggle if there is already one 14972/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Fri, 5 Apr 2019 13:41:12 +0000 (15:41 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Wed, 10 Apr 2019 12:08:55 +0000 (14:08 +0200)
commit0871b9acfffc3b039131cac9b2168a6558982377
treefc4e9265fdf0117ba9826216b1d8c909de1ed8d3
parentd1e4d614daa52503b1a0bb5ebcaf6a7d2b33edb7
Do not inject a #app-navigation-toggle if there is already one

This allows apps to ship their own, as in some cases the #app-content
element does not exist on page load and therefore the injection fails
and the icon is missing afterwards.

Fixes https://github.com/nextcloud/server/issues/14956

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
core/js/js.js