mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
fix variable names
This commit is contained in:
@@ -73,9 +73,9 @@ function changeSrc(offset){
|
|||||||
|| newSrc.indexOf(".jpeg") > -1){
|
|| newSrc.indexOf(".jpeg") > -1){
|
||||||
/* get correct size */
|
/* get correct size */
|
||||||
if(xWidth || yHeight){
|
if(xWidth || yHeight){
|
||||||
if(xWidth !=null && xHeight != null){
|
if(xWidth !=null && yHeight != null){
|
||||||
newSrc += "?scalex=" + xWidth + "&scaley=" + yHeight
|
newSrc += "?scalex=" + xWidth + "&scaley=" + yHeight
|
||||||
}else if(xWdith != null){
|
}else if(xWidth != null){
|
||||||
newSrc += "?x=" + xWidth
|
newSrc += "?x=" + xWidth
|
||||||
}else{
|
}else{
|
||||||
newSrc += "?y=" + yHeight
|
newSrc += "?y=" + yHeight
|
||||||
|
|||||||
Reference in New Issue
Block a user