mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-19 17:10:59 +00:00
Merge adbf35e002
into 26ad522f59
This commit is contained in:
commit
125a7134ec
1 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,12 @@
|
|||
controls: []
|
||||
}, options );
|
||||
|
||||
// Disable the form's submit; otherwise button clicks and return keys
|
||||
// can trigger it.
|
||||
this.container.onsubmit = function() {
|
||||
return false;
|
||||
};
|
||||
|
||||
if( this.element ){
|
||||
this.element = $.getElement( this.element );
|
||||
this.element.appendChild( this.container );
|
||||
|
|
Loading…
Add table
Reference in a new issue