Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
This repository was 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

Description

@jameslao

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);
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions