mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-10 10:28:04 +00:00
21 lines
387 B
JavaScript
21 lines
387 B
JavaScript
/**
|
|
* Placeholder JS file for Casper behaviours
|
|
*/
|
|
|
|
/*globals jQuery, document */
|
|
(function ($) {
|
|
"use strict";
|
|
|
|
$(document).ready(function(){
|
|
|
|
sizeContent();
|
|
$(window).resize(sizeContent);
|
|
|
|
function sizeContent() {
|
|
var newHeight = $(window).height() - 30;
|
|
$("#sitehead").css("height", newHeight);
|
|
}
|
|
|
|
});
|
|
|
|
}(jQuery)); |