Commit 43547bd5 by Vedran Karačić

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

TNL-136: Added New page creation animation
parents ccf266e0 8f0bb989
......@@ -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'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment