askbot-dragon 1.8.18-beta → 1.8.20-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.8.18-beta",
3
+ "version": "1.8.20-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -147,7 +147,7 @@ function newInitWaterMark(elId, textValue) {
147
147
 
148
148
  //获取页面最大高度
149
149
  var page_height = document.getElementById(elId).scrollHeight;
150
- console.log('page_height',page_height, page_width,document.getElementById('drawer_content_pre').scrollHeight);
150
+ console.log('page_height',page_height, page_width,document.getElementById('docView').scrollHeight);
151
151
 
152
152
  // var page_height = Math.max(document.body.scrollHeight, document.body.clientHeight);
153
153
 
@@ -241,7 +241,7 @@ function newInitWaterMark(elId, textValue) {
241
241
  mask_div.style.width = defaultSettings.watermark_width + "px";
242
242
 
243
243
  if (elId === 'docHtml'){
244
- mask_div.style.height = document.getElementById('drawer_content_pre').scrollHeight + "px";
244
+ mask_div.style.height = document.getElementById('docView').scrollHeight + "px";
245
245
  } else {
246
246
  mask_div.style.height = defaultSettings.watermark_width + "px";
247
247
  }