mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Removed extra parens
This commit is contained in:
parent
248852c15f
commit
2ba3acda38
@ -46,7 +46,7 @@
|
|||||||
i;
|
i;
|
||||||
|
|
||||||
$.extend( true, this, {
|
$.extend( true, this, {
|
||||||
id: 'controldock-'+($.now())+'-'+Math.floor(Math.random()*1000000),
|
id: 'controldock-'+$.now()+'-'+Math.floor(Math.random()*1000000),
|
||||||
container: $.makeNeutralElement('form'),
|
container: $.makeNeutralElement('form'),
|
||||||
controls: []
|
controls: []
|
||||||
}, options );
|
}, options );
|
||||||
|
@ -57,7 +57,7 @@ $.Navigator = function( options ){
|
|||||||
//We may need to create a new element and id if they did not
|
//We may need to create a new element and id if they did not
|
||||||
//provide the id for the existing element
|
//provide the id for the existing element
|
||||||
if( !options.id ){
|
if( !options.id ){
|
||||||
options.id = 'navigator-' + ($.now());
|
options.id = 'navigator-' + $.now();
|
||||||
this.element = $.makeNeutralElement( "div" );
|
this.element = $.makeNeutralElement( "div" );
|
||||||
options.controlOptions = {anchor: $.ControlAnchor.TOP_RIGHT,
|
options.controlOptions = {anchor: $.ControlAnchor.TOP_RIGHT,
|
||||||
attachToViewer: true,
|
attachToViewer: true,
|
||||||
|
@ -70,7 +70,7 @@ $.ReferenceStrip = function( options ){
|
|||||||
//We may need to create a new element and id if they did not
|
//We may need to create a new element and id if they did not
|
||||||
//provide the id for the existing element
|
//provide the id for the existing element
|
||||||
if( !options.id ){
|
if( !options.id ){
|
||||||
options.id = 'referencestrip-' + ($.now());
|
options.id = 'referencestrip-' + $.now();
|
||||||
this.element = $.makeNeutralElement( "div" );
|
this.element = $.makeNeutralElement( "div" );
|
||||||
this.element.id = options.id;
|
this.element.id = options.id;
|
||||||
this.element.className = 'referencestrip';
|
this.element.className = 'referencestrip';
|
||||||
|
Loading…
Reference in New Issue
Block a user