MDL-59761 eslint: Auto-fix some minor lint warnings

This commit is contained in:
Dan Poltawski
2017-09-06 08:53:50 +01:00
parent 6f601313f0
commit d9dff92fef
5 changed files with 7 additions and 6 deletions
@@ -249,7 +249,7 @@ define(['jquery', 'core/templates', 'core/notification', 'core/custom_interactio
// If the element isn't in the view window.
if (relativeTop > container.innerHeight()) {
var height = notificationElement.outerHeight();
// offset enough to make sure the notification will be in view.
// Offset enough to make sure the notification will be in view.
height = height * 4;
var scrollTo = position.top - height;
container.scrollTop(scrollTo);