This commit is contained in:
Mark Salsbery 2013-12-09 10:04:39 -08:00
parent 6b6b7f7625
commit babfb99be9

View File

@ -1122,7 +1122,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
}else{
this.addControl(
this.pagingControl,
{anchor: this.sequenceControlAnchor ? this.sequenceControlAnchor : $.ControlAnchor.TOP_LEFT}
{anchor: this.sequenceControlAnchor || $.ControlAnchor.TOP_LEFT}
);
}
}
@ -1243,7 +1243,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
}else{
this.addControl(
this.navControl,
{anchor: this.navigationControlAnchor ? this.navigationControlAnchor : $.ControlAnchor.TOP_LEFT}
{anchor: this.navigationControlAnchor || $.ControlAnchor.TOP_LEFT}
);
}
}