dist/toolkit.js
function(node, content) {
        if (node) {
            this.node = node = $(node);

            if (!content) {
                content = this.readValue(node, this.readOption(node, 'getContent')) || node.attr('href');
            }
        }

        // Show blackout if the element is hidden
        // If it is visible, the blackout count will break
        if (this.blackout && !this.element.is(':shown')) {
            this.blackout.show();
        }

        // Restrict scrolling
        if (this.options.stopScroll) {
            $('body').addClass('no-scroll');
        }

        this.loadContent(content);
    }
function(node, content) {
        if (node) {
            this.node = node = $(node);

            if (!content) {
                content = this.readValue(node, this.readOption(node, 'getContent')) || node.attr('href');
            }
        }

        // Show blackout if the element is hidden
        // If it is visible, the blackout count will break
        if (this.blackout && !this.element.is(':shown')) {
            this.blackout.show();
        }

        // Restrict scrolling
        if (this.options.stopScroll) {
            $('body').addClass('no-scroll');
        }

        this.loadContent(content);
    }
function ( node , content ) { if ( node ) { this . node = node = $ ( node ) ; if ( ! content ) { content = this . readValue ( node , this . readOption ( node , 'getContent' ) ) || node . attr ( 'href' ) ; } } // Show blackout if the element is hidden // If it is visible, the blackout count will break if ( this . blackout && ! this . element . is ( ':shown' ) ) { this . blackout . show ( ) ; } // Restrict scrolling if ( this . options . stopScroll ) { $ ( 'body' ) . addClass ( 'no-scroll' ) ; } this . loadContent ( content ) ; }
Show the modal with the specified content.

@param {jQuery} node
@param {String} [content]
Show the modal with the specified content .