diff --git a/ui/wolf.ui.css b/ui/wolf.ui.css index da547db..2c65e07 100644 --- a/ui/wolf.ui.css +++ b/ui/wolf.ui.css @@ -48,6 +48,7 @@ overflow: hidden; max-height: 95%; max-width: 95%; + display:flex; } .wolf-dialog-message-text { diff --git a/wolf.js b/wolf.js index 8d1591e..719b17b 100755 --- a/wolf.js +++ b/wolf.js @@ -29,13 +29,13 @@ // ==== PolyFills (IE 11 support) ==== function checkPolyFills() { if (typeof window["URL"] !== 'function') - UI.import("https://cdn.polyfill.io/v2/polyfill.min.js","js"); + UI.import("https://cdn.polyfill.io/v2/polyfill.min.js", "js"); if (typeof window["Promise"] !== 'function') - UI.import("https://cdn.jsdelivr.net/npm/promise-polyfill@8.1.3/dist/polyfill.min.js","js"); + UI.import("https://cdn.jsdelivr.net/npm/promise-polyfill@8.1.3/dist/polyfill.min.js", "js"); if (typeof window["fetch"] !== 'function') - UI.import("https://cdn.jsdelivr.net/npm/whatwg-fetch@3.4.0/dist/fetch.umd.min.js","js"); + UI.import("https://cdn.jsdelivr.net/npm/whatwg-fetch@3.4.0/dist/fetch.umd.min.js", "js"); if (!Element.prototype.getAttributeNames) { Element.prototype.getAttributeNames = function () { @@ -144,6 +144,7 @@ try { var inc = Function("'use strict';return " + data + ";\n//# sourceURL=" + url); } catch (e) { + console.error("Error in module '" + url + "' parsing file: " + e.message, e); throw new Error("Error in module '" + url + "' parsing file: " + e.message); } instantiate(inc(), function (lobj) {