0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core
Robert Jackson 27e52c8979 Only attempt to scrollTop if element is available.
In later versions of Ember, the views and components can be stable
and are not guaranteed to be torn down before a new controller is
set on them.

In this case, the controller is initially set before the element has been
rendered to the DOM causing errors when invoking `closest` on undefined.
2015-05-05 19:05:36 -04:00
..
client Only attempt to scrollTop if element is available. 2015-05-05 19:05:36 -04:00
server refactors the frontend controller 2015-05-05 07:35:08 -05:00
shared added password protection 2015-04-30 23:44:43 -05:00
test refactors the frontend controller 2015-05-05 07:35:08 -05:00
index.js