src/openseadragon.js
function( event ) {
            event = $.getEvent( event );

            if ( event.stopPropagation ) {
                // W3C for stopping propagation
                $.stopEvent = function( event ){
                    event.stopPropagation();
                };
            } else {
                // IE for stopping propagation
                $.stopEvent = function( event ){
                    event = $.getEvent( event );
                    event.cancelBubble = true;
                };

            }

            $.stopEvent( event );
        }
function( event ) {
            event = $.getEvent( event );

            if ( event.stopPropagation ) {
                // W3C for stopping propagation
                $.stopEvent = function( event ){
                    event.stopPropagation();
                };
            } else {
                // IE for stopping propagation
                $.stopEvent = function( event ){
                    event = $.getEvent( event );
                    event.cancelBubble = true;
                };

            }

            $.stopEvent( event );
        }
function ( event ) { event = $ . getEvent ( event ) ; if ( event . stopPropagation ) { // W3C for stopping propagation $ . stopEvent = function ( event ) { event . stopPropagation ( ) ; } ; } else { // IE for stopping propagation $ . stopEvent = function ( event ) { event = $ . getEvent ( event ) ; event . cancelBubble = true ; } ; } $ . stopEvent ( event ) ; }
Stops the propagation of the event up the DOM.
@function
@param {Event} [event]
Stops the propagation of the event up the DOM .