Added bug note
This commit is contained in:
parent
118ccaab6c
commit
d2899d5055
1 changed files with 2 additions and 0 deletions
|
|
@ -50,10 +50,12 @@ export default {
|
||||||
created: function () {
|
created: function () {
|
||||||
var context = this
|
var context = this
|
||||||
UIkit.util.on(document, 'hidden', '.toggle-hidden', function () {
|
UIkit.util.on(document, 'hidden', '.toggle-hidden', function () {
|
||||||
|
// BUG: This gets called every time a tab switches. Really shouldn't
|
||||||
console.log("Sidebar hidden")
|
console.log("Sidebar hidden")
|
||||||
context.$root.$emit('globalResizePreview')
|
context.$root.$emit('globalResizePreview')
|
||||||
})
|
})
|
||||||
UIkit.util.on(document, 'shown', '.toggle-hidden', function () {
|
UIkit.util.on(document, 'shown', '.toggle-hidden', function () {
|
||||||
|
// BUG: This gets called every time a tab switches. Really shouldn't
|
||||||
console.log("Sidebar shown")
|
console.log("Sidebar shown")
|
||||||
context.$root.$emit('globalResizePreview')
|
context.$root.$emit('globalResizePreview')
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue