Skip to content

Commit

Permalink
fix(citizenScience): disabled background watching for change in paren…
Browse files Browse the repository at this point in the history
…t client rectangle because it was broken
  • Loading branch information
peichins committed Mar 16, 2017
1 parent ec8f63b commit 8584cd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/citizenScience/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ angular.module("bawApp.components.background", [])
// This is necessary incase other dom changes move the parent element
// as the page is loading.
scope.$watch(function () {
return self.element.parentElement.getBoundingClientRect();
return 0;
// disabled this because it is broken
//return self.element.parentElement.getBoundingClientRect();
}, self.resize, true);


Expand Down

0 comments on commit 8584cd3

Please sign in to comment.