Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 64... Línea 64...
64
     * Gets the jQuery wrapped node that the Modal should be attached to.
64
     * Gets the jQuery wrapped node that the Modal should be attached to.
65
     *
65
     *
66
     * @returns {jQuery}
66
     * @returns {jQuery}
67
     */
67
     */
68
    getAttachmentPoint() {
68
    getAttachmentPoint() {
-
 
69
        const fullscreenElement = Fullscreen.getElement();
-
 
70
 
-
 
71
        if (fullscreenElement && fullscreenElement.tagName.toLowerCase() === 'html') {
-
 
72
            return $(this.attachmentPoint);
-
 
73
        }
-
 
74
 
69
        return $(Fullscreen.getElement() || this.attachmentPoint);
75
        return $(fullscreenElement || this.attachmentPoint);
70
    }
76
    }
Línea 71... Línea 77...
71
 
77
 
72
    /**
78
    /**
73
     * Add the modal backdrop to the page, if it hasn't already been added.
79
     * Add the modal backdrop to the page, if it hasn't already been added.