File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,13 +158,9 @@ DV.Page.prototype.drawRemoveOverlay = function() {
158158
159159DV . Page . prototype . setPageType = function ( ) {
160160 if ( this . annotations . length > 0 ) {
161- if ( this . hasLayerPage === true ) {
162- this . el . addClass ( 'DV-layer-page' ) ;
163- }
164- if ( this . hasLayerRegional === true ) {
165- this . el . addClass ( 'DV-layer-page' ) ;
166- }
167- } else {
161+ if ( this . hasLayerPage === true ) { this . el . addClass ( 'DV-layer-page' ) ; }
162+ if ( this . hasLayerRegional === true ) { this . el . addClass ( 'DV-layer-page' ) ; }
163+ } else {
168164 this . el . removeClass ( 'DV-layer-page DV-layer-regional' ) ;
169165 }
170166} ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ DV.Schema.states = {
3737 } ,
3838
3939 ViewAnnotation : function ( ) {
40- this . helpers . reset ( ) ;
40+ this . helpers . reset ( ) ; // in construction.js
4141 this . helpers . ensureAnnotationImages ( ) ;
4242 this . activeAnnotationId = null ;
4343 this . acceptInput . deny ( ) ;
You can’t perform that action at this time.
0 commit comments