From d2899d50556107f778acb591f33bf272f151ac8d Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 8 Apr 2019 16:20:00 +0100 Subject: [PATCH] Added bug note --- src/App.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.vue b/src/App.vue index 2f15479d..b195fa75 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,10 +50,12 @@ export default { created: function () { var context = this UIkit.util.on(document, 'hidden', '.toggle-hidden', function () { + // BUG: This gets called every time a tab switches. Really shouldn't console.log("Sidebar hidden") context.$root.$emit('globalResizePreview') }) UIkit.util.on(document, 'shown', '.toggle-hidden', function () { + // BUG: This gets called every time a tab switches. Really shouldn't console.log("Sidebar shown") context.$root.$emit('globalResizePreview') })