]> git.mxchange.org Git - friendica.git/commitdiff
spelling: dimensions
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 22 Mar 2023 03:17:29 +0000 (23:17 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:03:23 +0000 (16:03 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
view/js/ajaxupload.js
view/theme/frio/js/mod_photos.js

index 912cd0b4ce5bfa39b1a4f62be2ecf48271356f88..b2741fa2d285501fb27bbff0cdae0b030bfb4ad6 100644 (file)
     /**
      * 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
      */    
      * 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){
index a0e5498c2500dd9b45e5aaef5c08cbc176ad9362..89a7ba758320f81efe91977b23113bdb67228f7e 100644 (file)
@@ -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,