Browse Source

Merge pull request #534 from tomichal/fix-495 Fixes #495

Clear cached scroll offset on window scroll
pull/540/head
Artur Arseniev 9 years ago
committed by GitHub
parent
commit
9215405310
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/canvas/view/CanvasView.js

1
src/canvas/view/CanvasView.js

@ -5,6 +5,7 @@ module.exports = Backbone.View.extend({
initialize(o) {
_.bindAll(this, 'renderBody', 'onFrameScroll', 'clearOff');
window.onscroll = this.clearOff
this.config = o.config || {};
this.em = this.config.em || {};
this.ppfx = this.config.pStylePrefix || '';

Loading…
Cancel
Save