mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:00:15 +00:00
spelling: dimensions
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
a83db24724
commit
1fdd0f9152
2 changed files with 3 additions and 3 deletions
|
@ -157,7 +157,7 @@
|
||||||
/**
|
/**
|
||||||
* Function places an absolutely positioned
|
* Function places an absolutely positioned
|
||||||
* element on top of the specified element
|
* element on top of the specified element
|
||||||
* copying position and dimentions.
|
* copying position and dimensions.
|
||||||
* @param {Element} from
|
* @param {Element} from
|
||||||
* @param {Element} to
|
* @param {Element} to
|
||||||
*/
|
*/
|
||||||
|
@ -239,7 +239,7 @@
|
||||||
* Easy styling and uploading
|
* Easy styling and uploading
|
||||||
* @constructor
|
* @constructor
|
||||||
* @param button An element you want convert to
|
* @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.
|
* @param {Object} options See defaults below.
|
||||||
*/
|
*/
|
||||||
window.AjaxUpload = function(button, options){
|
window.AjaxUpload = function(button, options){
|
||||||
|
|
|
@ -42,7 +42,7 @@ $(window).load(function () {
|
||||||
var pheight = $("#photo-photo img").height();
|
var pheight = $("#photo-photo img").height();
|
||||||
var pwidth = $("#photo-photo img").width();
|
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
|
// we do this to make it possible to have overlay navigation buttons for the photo
|
||||||
$("#photo-photo").css({
|
$("#photo-photo").css({
|
||||||
width: pwidth,
|
width: pwidth,
|
||||||
|
|
Loading…
Reference in a new issue