Merge pull request #8875 from edx/vkaracic/TNL-136
TNL-136: Added New page creation animation
This commit is contained in:
@@ -89,7 +89,9 @@ define ["jquery", "jquery.ui", "backbone", "js/views/feedback_prompt", "js/views
|
|||||||
editor.$el.addClass('new')
|
editor.$el.addClass('new')
|
||||||
setTimeout(=>
|
setTimeout(=>
|
||||||
editor.$el.removeClass('new')
|
editor.$el.removeClass('new')
|
||||||
, 500)
|
, 1000)
|
||||||
|
$('html, body').animate {scrollTop: $('.new-component-item').offset().top}, 500
|
||||||
|
|
||||||
|
|
||||||
editor.createItem(
|
editor.createItem(
|
||||||
@model.get('id'),
|
@model.get('id'),
|
||||||
|
|||||||
Reference in New Issue
Block a user