diff --git a/dist/ds-browser.js b/dist/ds-browser.js index 5a600f8..dc35bab 100644 --- a/dist/ds-browser.js +++ b/dist/ds-browser.js @@ -18504,7 +18504,7 @@ class Util { getFileHost() { if (this.browser.selfFileHost) { - return window.location.host; + return window.location.origin; } else { return "https://semantify.it"; } diff --git a/dist/ds-browser.min.js b/dist/ds-browser.min.js index ef57658..9e1330f 100644 --- a/dist/ds-browser.min.js +++ b/dist/ds-browser.min.js @@ -263,7 +263,7 @@ var nextTick=require("process/browser.js").nextTick,apply=Function.prototype.app "use strict";class TreeRenderer{constructor(e){this.browser=e,this.util=e.util,this.dsHandler=e.dsHandler,this.dsRenderer=e.dsRenderer}render(){var e=this.dsRenderer.createHtmlHeader(),r=this.dsRenderer.createViewModeSelectors(this.dsRenderer.MODES.tree),t="".concat(e,"\n ").concat(r,'\n
\n \n
');this.browser.targetElement.innerHTML=this.util.createHtmlMainContent("rdfs:Class",t),this.initIFrameForJSTree()}initIFrameForJSTree(){this.iFrame=document.getElementById("iframe-jsTree"),this.iFrameCW=this.iFrame.contentWindow;var e=this.iFrameCW.document,r=this.createJSTreeHTML();e.open(),e.write(r),e.close();var t=this.dsHandler.generateDsClass(this.browser.dsRootNode,!1,!1);this.mapNodeForJSTree([t])}createJSTreeHTML(){var e=this.dsRenderer.createVisBtnRow(),r=this.createTreeStyle();return'\n