diff --git a/src/controldock.js b/src/controldock.js index 1102c244..50ae989b 100644 --- a/src/controldock.js +++ b/src/controldock.js @@ -46,7 +46,7 @@ i; $.extend( true, this, { - id: 'controldock-'+($.now())+'-'+Math.floor(Math.random()*1000000), + id: 'controldock-'+$.now()+'-'+Math.floor(Math.random()*1000000), container: $.makeNeutralElement('form'), controls: [] }, options ); diff --git a/src/navigator.js b/src/navigator.js index 957520d2..acd6da81 100644 --- a/src/navigator.js +++ b/src/navigator.js @@ -57,7 +57,7 @@ $.Navigator = function( options ){ //We may need to create a new element and id if they did not //provide the id for the existing element if( !options.id ){ - options.id = 'navigator-' + ($.now()); + options.id = 'navigator-' + $.now(); this.element = $.makeNeutralElement( "div" ); options.controlOptions = {anchor: $.ControlAnchor.TOP_RIGHT, attachToViewer: true, diff --git a/src/referencestrip.js b/src/referencestrip.js index c4325789..308bb6a4 100644 --- a/src/referencestrip.js +++ b/src/referencestrip.js @@ -70,7 +70,7 @@ $.ReferenceStrip = function( options ){ //We may need to create a new element and id if they did not //provide the id for the existing element if( !options.id ){ - options.id = 'referencestrip-' + ($.now()); + options.id = 'referencestrip-' + $.now(); this.element = $.makeNeutralElement( "div" ); this.element.id = options.id; this.element.className = 'referencestrip';