Added bug note

This commit is contained in:
Joel Collins 2019-04-08 16:20:00 +01:00
parent 118ccaab6c
commit d2899d5055

View file

@ -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')
})