Skip to content

Commit

Permalink
Corrected php, js and phtml files (#4855)
Browse files Browse the repository at this point in the history
  • Loading branch information
criadoperez authored Jul 26, 2023
1 parent e93a8df commit a2c8afe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/GedcomRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
4 changes: 2 additions & 2 deletions resources/js/treeview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down Expand Up @@ -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;
};
Expand Down
2 changes: 1 addition & 1 deletion resources/views/modules/timeline-chart/chart.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a2c8afe

Please sign in to comment.