Merge pull request #295 from nextcloud/disable-reload-gesture
Disable the vertical swipe to reload gesture.
This commit is contained in:
Коммит
6fd47bd8ec
|
@ -92,6 +92,7 @@ var odfViewer = {
|
||||||
OC.addStyle('richdocuments', 'mobile');
|
OC.addStyle('richdocuments', 'mobile');
|
||||||
|
|
||||||
var $iframe = $('<iframe id="richdocumentsframe" scrolling="no" allowfullscreen src="'+viewer+'" />');
|
var $iframe = $('<iframe id="richdocumentsframe" scrolling="no" allowfullscreen src="'+viewer+'" />');
|
||||||
|
$('body').css('overscroll-behavior-y', 'none');
|
||||||
if ($('#isPublic').val()) {
|
if ($('#isPublic').val()) {
|
||||||
// force the preview to adjust its height
|
// force the preview to adjust its height
|
||||||
$('#preview').append($iframe).css({height: '100%'});
|
$('#preview').append($iframe).css({height: '100%'});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче