13 lines
331 B
JavaScript
13 lines
331 B
JavaScript
|
|
$(document).ready(function() {
|
|
$("img").each(function(idx, elm){
|
|
$(elm).css("margin-bottom", elm.height * -0.333);
|
|
}).on("load", function(e){
|
|
$(e.target).css("margin-bottom", e.target.height * -0.333);
|
|
});
|
|
|
|
$(".back-button")
|
|
.html("Go Back")
|
|
.click(_ => window.history.back());
|
|
});
|