Skip to content

Commit

Permalink
PCC-98: Update the js comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvir249 committed Jun 19, 2024
1 parent 86180c8 commit 6d9cf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/preview-refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
const livePreviewText = document.querySelector('.preview-status');
const livePreviewTimeRemaining = settings.realtime_preview.previewActiveUntil - Date.now();
// Live preview is active for 600000 mili-seconds.
// Auto refresh the views for 1 min = 400000 mili-seconds.
// Auto refresh the views for 200000 mili-seconds.
if ($(previwView).length > 0 && livePreviewTimeRemaining > 400000) {
if (settings.realtime_preview.previewActiveUntil) {
livePreviewText.innerText = "On"
Expand Down

0 comments on commit 6d9cf3a

Please sign in to comment.