diff --git a/openedx/features/course_bookmarks/static/course_bookmarks/js/views/bookmark_button.js b/openedx/features/course_bookmarks/static/course_bookmarks/js/views/bookmark_button.js index 5dece91125..d1179edfb4 100644 --- a/openedx/features/course_bookmarks/static/course_bookmarks/js/views/bookmark_button.js +++ b/openedx/features/course_bookmarks/static/course_bookmarks/js/views/bookmark_button.js @@ -58,6 +58,7 @@ }, complete: function() { view.$el.prop('disabled', false); + view.$el.focus(); } }); }, @@ -78,6 +79,7 @@ }, complete: function() { view.$el.prop('disabled', false); + view.$el.focus(); } }); }, @@ -105,7 +107,7 @@ } this.messageView.showMessage(errorMsg); - // Hide message automatically after some interval + // Hide message automatically after some interval setTimeout(_.bind(function() { this.messageView.hideMessage(); }, this), this.showBannerInterval);