|
@@ -81,6 +81,8 @@ class Viewer {
|
|
let webviewerUrl = this.options.webviewerPath
|
|
let webviewerUrl = this.options.webviewerPath
|
|
if (this.initialDoc) {
|
|
if (this.initialDoc) {
|
|
webviewerUrl += "#d=".concat(this.initialDoc)
|
|
webviewerUrl += "#d=".concat(this.initialDoc)
|
|
|
|
+ } else {
|
|
|
|
+ webviewerUrl += '#'
|
|
}
|
|
}
|
|
this.options.showToolbarControl !== undefined && (webviewerUrl += "&header=".concat(this.options.showToolbarControl ? "true": "false"))
|
|
this.options.showToolbarControl !== undefined && (webviewerUrl += "&header=".concat(this.options.showToolbarControl ? "true": "false"))
|
|
const iframe = document.createElement("iframe")
|
|
const iframe = document.createElement("iframe")
|