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:
Родитель
3843e4a101
Коммит
40903d8e70
|
@ -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');
|
||||
|
|
Загрузка…
Ссылка в новой задаче