gallery icon indicating copy to clipboard operation
gallery copied to clipboard

[18] Cannot set property DOMPurify of #<Window> which has only a getter

Open jameslao opened this issue 6 years ago • 0 comments

Nextcloud 18.0.0 Alpha Build:2019-10-25T22:01:44+00:00 0971f27565d2237711ac1001df9d8a0e966cb7e5

Gallery page blank

merged.js?v=f872093e-0:6082 Uncaught TypeError: Cannot set property DOMPurify of #<Window> which has only a getter
    at merged.js?v=f872093e-0:6082
    at merged.js?v=f872093e-0:6084
(function(factory) {
    'use strict';
    /* global window: false, define: false, module: false */
    var root = typeof window === 'undefined' ? null : window;

    if (typeof define === 'function' && define.amd) {
        define(function(){ return factory(root); });
    } else if (typeof module !== 'undefined') {
        module.exports = factory(root);
    } else {
-->     root.DOMPurify = factory(root);
    }
}

jameslao avatar Oct 26 '19 17:10 jameslao