app/assets/build/coco/app.js in coveragebook_components-0.9.0 vs app/assets/build/coco/app.js in coveragebook_components-0.9.1
- old
+ new
@@ -14042,11 +14042,11 @@
// ../../../package.json
var package_default = {
name: "coveragebook-components",
type: "module",
- version: "0.9.0",
+ version: "0.9.1",
main: "index.js",
repository: "git@github.com:coveragebook/coco.git",
author: "Mark Perkins <mark@coveragebook.com>",
license: "NO LICENSE",
browserslist: [
@@ -25107,16 +25107,18 @@
},
get parent() {
return this.$root.parentElement;
},
init() {
- this.$nextTick(() => {
- if (!this.collapsible)
- return;
+ if (this.collapsible) {
+ this.$nextTick(() => {
+ this.onResize();
+ this.createSingletonTooltip();
+ this.ready = true;
+ });
+ } else {
this.ready = true;
- this.onResize();
- this.createSingletonTooltip();
- });
+ }
this.$watch("collapsed", (value) => {
this.buttons.forEach((button) => {
button.isCollapsed = value;
});
this.$nextTick(() => this.createSingletonTooltip());