diff --git a/bower.json b/bower.json index fa6ea66..5f100cd 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-information-dialog", "description": "Strolch WebComponent Information Dialog", - "version": "0.1.6", + "version": "0.1.7", "authors": [ "Robert von Burg" ], diff --git a/strolch-wc-information-dialog.html b/strolch-wc-information-dialog.html index e663ec8..8d79ae1 100644 --- a/strolch-wc-information-dialog.html +++ b/strolch-wc-information-dialog.html @@ -203,8 +203,10 @@ this.confirmation = true; } - this.cancelable = typeof data.cancelable === "boolean" && data.cancelable; - this.closeable = typeof data.closeable === "boolean" && data.closeable; + if (typeof data.cancelable === "boolean") + this.cancelable = data.cancelable; + if (typeof data.closeable === "boolean") + this.closeable = data.closeable; console.log("Message: " + this.title + ': ' + this.line1); this.$.dlg.notifyResize();