Skip to content

Commit 897695d

Browse files
szaimenbackportbot[bot]
authored andcommitted
Disable header timeout
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
1 parent b9d94fa commit 897695d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Viewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
v-if="initiated || currentFile.modal"
2727
id="viewer"
2828
:class="{'icon-loading': !currentFile.loaded && !currentFile.failed}"
29-
:clear-view-delay="isTesting ? -1 : 5000 /* prevent cypress timeouts */"
29+
:clear-view-delay="(isTesting || isMobile) ? -1 : undefined /* prevent cypress timeouts and disable on mobile, otherwise use default of the modal */"
3030
:dark="true"
3131
:enable-slideshow="hasPrevious || hasNext"
3232
:enable-swipe="canSwipe"

0 commit comments

Comments
 (0)