1
0
mirror of synced 2025-02-09 16:49:24 +03:00

Fix typos in comments (#5336)

This commit is contained in:
Tim Graham 2018-09-04 20:11:36 -05:00 committed by Pedro Felipe de Azevedo Furtado
parent 9e613ff22e
commit ec7c57c288
3 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ define([
};
Dropdown.prototype.position = function ($dropdown, $container) {
// Should be implmented in subclasses
// Should be implemented in subclasses
};
Dropdown.prototype.destroy = function () {

View File

@ -156,10 +156,10 @@ define([
top: container.bottom
};
// Determine what the parent element is to use for calciulating the offset
// Determine what the parent element is to use for calculating the offset
var $offsetParent = this.$dropdownParent;
// For statically positoned elements, we need to get the element
// For statically positioned elements, we need to get the element
// that is determining the offset
if ($offsetParent.css('position') === 'static') {
$offsetParent = $offsetParent.offsetParent();

View File

@ -339,7 +339,7 @@ define([
var currentIndex = $options.index($highlighted);
// If we are already at te top, don't move further
// If we are already at the top, don't move further
// If no options, currentIndex will be -1
if (currentIndex <= 0) {
return;