diff --git a/app/GedcomRecord.php b/app/GedcomRecord.php index 8cba614993a..d871d579b2d 100644 --- a/app/GedcomRecord.php +++ b/app/GedcomRecord.php @@ -424,7 +424,7 @@ public function getSecondaryName(): int } /** - * Allow the choice of primary name to be overidden, e.g. in a search result + * Allow the choice of primary name to be overridden, e.g. in a search result * * @param int|null $n * diff --git a/resources/js/treeview.js b/resources/js/treeview.js index 456127bd2bf..32ab3502065 100644 --- a/resources/js/treeview.js +++ b/resources/js/treeview.js @@ -190,7 +190,7 @@ TreeViewHandler.prototype.updateTree = function (center, button) { for (var i = 0; i < nb; i++) { elts[i].removeAttr('abbr').html(ret[i]); } - // we now ajust the draggable treeview size to its content size + // we now adjust the draggable treeview size to its content size tv.getSize(); }, complete: function () { @@ -334,7 +334,7 @@ TreeViewHandler.prototype.expandBox = function (box, event) { collapsed.css('display', 'none'); expanded.addClass('boxExpanded'); } - // we must ajust the draggable treeview size to its content size + // we must adjust the draggable treeview size to its content size this.getSize(); return false; }; diff --git a/resources/views/modules/timeline-chart/chart.phtml b/resources/views/modules/timeline-chart/chart.phtml index 8ee85f373b8..5d6b3c2dd33 100644 --- a/resources/views/modules/timeline-chart/chart.phtml +++ b/resources/views/modules/timeline-chart/chart.phtml @@ -213,7 +213,7 @@ use Fisharebest\Webtrees\Individual; dbox.style.top = (boxmean + bheight / 3) + "px"; } - // the new X posistion moves the same as the y position + // the new X position moves the same as the y position if (textDirection === 'rtl') { newx = dbox.offsetRight + Math.abs(newy - boxmean); } else {