dont rely on OC.addStyles.loaded to remove css

this is removed with nc17 and causes a white screen when closing the editor

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2019-05-17 14:12:46 +02:00
Родитель 3843e4a101
Коммит 40903d8e70
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 42B69D8A64526EFB
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -145,7 +145,7 @@ var odfViewer = {
FileList.setViewerMode(false);
FileList.reload();
}
$('link[href="' + OC.addStyle.loaded.pop() + '"]').remove();
$('link[href*="richdocuments/css/mobile"]').remove();
$('#app-content #controls').removeClass('hidden');
$('#richdocumentsframe').remove();
$('#app-navigation').removeClass('hidden');