0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/client
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
..
app Only attempt to scrollTop if element is available. 2015-05-05 19:05:36 -04:00
config Serve files to core/built/assets/ 2015-03-12 15:59:02 -06:00
lib Serve files to core/built/assets/ 2015-03-12 15:59:02 -06:00
public/assets The great migration (EAK -> ember-cli) 2015-03-11 12:37:41 -06:00
tests Upgrade grunt-jscs to fix whitespace linting. 2015-04-30 16:14:19 -05:00
.ember-cli grunt init, dev 2015-03-11 12:37:41 -06:00
.gitignore grunt init, dev 2015-03-11 12:37:41 -06:00
.jshintrc Change grunt jshint and jscs tasks 2015-03-11 12:37:42 -06:00
bower.json Removing unused dependency 2015-05-04 23:26:24 +01:00
Brocfile.js Added support for all letters in word-count (not only ASCII) and added xregexp bower module to a project 2015-05-02 22:56:33 +03:00
package.json Ember 1.11.1 2015-04-05 21:13:30 -06:00
testem.json Ember init, bower deps, es6 modules 2015-03-11 12:37:41 -06:00