Skip to content
Snippets Groups Projects
Commit 43547bd5 authored by Vedran Karačić's avatar Vedran Karačić
Browse files

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

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