7 lines
197 B
JavaScript
7 lines
197 B
JavaScript
|
function decreaseImage(element){
|
||
|
let height = parseInt(element.style.height) - 10 ;
|
||
|
element.style.height = height+"px";
|
||
|
}
|
||
|
function resetImage(element){
|
||
|
element.style.height = "200px";
|
||
|
}
|