Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

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

Open
jameslao opened this issue Oct 26, 2019 · 0 comments
Open

Comments

@jameslao
Copy link

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);
    }
}
@kesselb kesselb transferred this issue from nextcloud/server Oct 26, 2019
@kesselb kesselb changed the title Gallery app js error [18] Cannot set property DOMPurify of #<Window> which has only a getter Oct 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant