From 1fdd0f915250517e254adb5165b394f03721cd87 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:17:29 -0400 Subject: [PATCH] spelling: dimensions Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- view/js/ajaxupload.js | 4 ++-- view/theme/frio/js/mod_photos.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/view/js/ajaxupload.js b/view/js/ajaxupload.js index 912cd0b4ce..b2741fa2d2 100644 --- a/view/js/ajaxupload.js +++ b/view/js/ajaxupload.js @@ -157,7 +157,7 @@ /** * Function places an absolutely positioned * element on top of the specified element - * copying position and dimentions. + * copying position and dimensions. * @param {Element} from * @param {Element} to */ @@ -239,7 +239,7 @@ * Easy styling and uploading * @constructor * @param button An element you want convert to - * upload button. Tested dimentions up to 500x500px + * upload button. Tested dimensions up to 500x500px * @param {Object} options See defaults below. */ window.AjaxUpload = function(button, options){ diff --git a/view/theme/frio/js/mod_photos.js b/view/theme/frio/js/mod_photos.js index a0e5498c25..89a7ba7583 100644 --- a/view/theme/frio/js/mod_photos.js +++ b/view/theme/frio/js/mod_photos.js @@ -42,7 +42,7 @@ $(window).load(function () { var pheight = $("#photo-photo img").height(); var pwidth = $("#photo-photo img").width(); - // Append the diminsons of the picture to the css of the photo-photo div + // Append the dimensions of the picture to the css of the photo-photo div // we do this to make it possible to have overlay navigation buttons for the photo $("#photo-photo").css({ width: pwidth, -- 2.39.5