Skip to content

Commit

Permalink
Disable header timeout
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
  • Loading branch information
szaimen authored and backportbot[bot] committed Jul 19, 2021
1 parent b9d94fa commit 897695d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
v-if="initiated || currentFile.modal"
id="viewer"
:class="{'icon-loading': !currentFile.loaded && !currentFile.failed}"
:clear-view-delay="isTesting ? -1 : 5000 /* prevent cypress timeouts */"
:clear-view-delay="(isTesting || isMobile) ? -1 : undefined /* prevent cypress timeouts and disable on mobile, otherwise use default of the modal */"
:dark="true"
:enable-slideshow="hasPrevious || hasNext"
:enable-swipe="canSwipe"
Expand Down

0 comments on commit 897695d

Please sign in to comment.