Merge pull request #8875 from edx/vkaracic/TNL-136

TNL-136: Added New page creation animation
This commit is contained in:
Vedran Karačić
2015-07-14 20:18:49 +02:00

View File

@@ -89,7 +89,9 @@ define ["jquery", "jquery.ui", "backbone", "js/views/feedback_prompt", "js/views
editor.$el.addClass('new')
setTimeout(=>
editor.$el.removeClass('new')
, 500)
, 1000)
$('html, body').animate {scrollTop: $('.new-component-item').offset().top}, 500
editor.createItem(
@model.get('id'),