askbot-dragon 1.5.40-beta → 1.5.41-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.5.40-beta",
3
+ "version": "1.5.41-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -128,8 +128,10 @@ export default {
128
128
  if(value) {
129
129
  this.$nextTick(() =>{
130
130
  setTimeout(() => {
131
- let transScale = this.$refs.pdfPosition.transformSalce
132
- zoomElement(document.getElementById('contentView'),transScale)
131
+ if (this.tagIds && this.tagIds.length != 0){
132
+ let transScale = this.$refs.pdfPosition.transformSalce
133
+ zoomElement(document.getElementById('contentView'),transScale)
134
+ }
133
135
  },1000)
134
136
  })
135
137
  }