@innovastudio/contentbox 1.4.40 → 1.4.41
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
@@ -95949,7 +95949,7 @@ class AnimateScroll {
|
|
95949
95949
|
let sectionCss = this.builder.sectionCss();
|
95950
95950
|
localStorage.setItem('preview-sectioncss', sectionCss); // this.adjustMarginBottom();
|
95951
95951
|
|
95952
|
-
modalPagePreview.querySelector('iframe').src = this.builder.previewURL;
|
95952
|
+
modalPagePreview.querySelector('iframe').src = this.builder.previewURL + '?' + Math.floor(Date.now() / 1000);
|
95953
95953
|
}
|
95954
95954
|
};
|
95955
95955
|
|
@@ -96024,7 +96024,7 @@ class AnimateScroll {
|
|
96024
96024
|
modalPagePreview.classList.add('active');
|
96025
96025
|
btnOpenPreviewWindow.classList.add('on');
|
96026
96026
|
const iframe = modalPagePreview.querySelector('iframe');
|
96027
|
-
iframe.src = this.builder.previewURL; // this.adjustMarginBottom();
|
96027
|
+
iframe.src = this.builder.previewURL + '?' + Math.floor(Date.now() / 1000); // this.adjustMarginBottom();
|
96028
96028
|
|
96029
96029
|
if (localStorage.getItem('_livepreviewscreen') != null) {
|
96030
96030
|
modalPagePreview.classList.remove('is-screen-1920');
|
@@ -96139,8 +96139,33 @@ class AnimateScroll {
|
|
96139
96139
|
btn.classList.add('on');
|
96140
96140
|
}
|
96141
96141
|
|
96142
|
-
|
96143
|
-
|
96142
|
+
try {
|
96143
|
+
this.read();
|
96144
|
+
|
96145
|
+
if (this.builder.debug) {
|
96146
|
+
console.log('timeline read() ok');
|
96147
|
+
}
|
96148
|
+
} catch (e) {
|
96149
|
+
// Do Nothing
|
96150
|
+
if (this.builder.debug) {
|
96151
|
+
console.log('timeline read() error');
|
96152
|
+
console.log(e);
|
96153
|
+
}
|
96154
|
+
}
|
96155
|
+
|
96156
|
+
try {
|
96157
|
+
this.readAnimOnce();
|
96158
|
+
|
96159
|
+
if (this.builder.debug) {
|
96160
|
+
console.log('timeline readAnimOnce() ok');
|
96161
|
+
}
|
96162
|
+
} catch (e) {
|
96163
|
+
// Do Nothing
|
96164
|
+
if (this.builder.debug) {
|
96165
|
+
console.log('timeline readAnimOnce() error');
|
96166
|
+
console.log(e);
|
96167
|
+
}
|
96168
|
+
}
|
96144
96169
|
}
|
96145
96170
|
|
96146
96171
|
clearSettings() {
|