Skip to content

Commit

Permalink
Disable header timeout
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <[email protected]>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
  • Loading branch information
szaimen authored and npmbuildbot-nextcloud[bot] committed Jul 19, 2021
1 parent b9d94fa commit 7eb1a97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

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 7eb1a97

Please sign in to comment.