~jstys-z/helioviewer.org/client5

« back to all changes in this revision

Viewing changes to src/js/UI/ZoomControls.js

  • Committer: Jeff Stys
  • Date: 2015-02-20 22:08:08 UTC
  • Revision ID: jstys@sesda3.com-20150220220808-mlctn8ze5j0nq7mk
+ Re-built Viewport zoom controls and Center button as action buttons in the header.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        this.minImageScale = minImageScale;
24
24
        this.maxImageScale = maxImageScale;
25
25
 
26
 
        this.zoomInBtn  = $('#zoomControlZoomIn');
 
26
        this.zoomInBtn  = $('#zoom-in-button');
27
27
        this.zoomSlider = $('#zoomControlSlider');
28
 
        this.zoomOutBtn = $('#zoomControlZoomOut');
 
28
        this.zoomOutBtn = $('#zoom-out-button');
29
29
 
30
30
        this._initSlider();
31
31
        this._initEventHandlers();