0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/app/views
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
..
editor
mobile
posts
settings added password protection 2015-04-30 23:44:43 -05:00
application.js
content-preview-content-view.js Only attempt to scrollTop if element is available. 2015-05-05 19:05:36 -04:00
editor-save-button.js Show correct type in publish button 2015-04-15 11:13:38 +01:00
paginated-scroll-box.js
post-item-view.js
post-tags-input.js Ember 1.11.1 2015-04-05 21:13:30 -06:00
posts.js
settings.js