...
|
...
|
@@ -18,12 +18,13 @@ var page = 1, |
|
|
var conponTmpl = Handlebars.compile($('#tmpl-coupon').html()),
|
|
|
$newCoupon = $('#new-coupon');
|
|
|
|
|
|
var winH = $(window).height();
|
|
|
|
|
|
// conponNotAvaliableTmpl = Handlebars.compile($('#tmpl-coupon-not-avaliable').html()),
|
|
|
|
|
|
function fixedLayOut() {
|
|
|
var $null = $('.null');
|
|
|
|
|
|
var winH = $(window).height(),
|
|
|
var $null = $('.null'),
|
|
|
navH = $('.nav-title').height(),
|
|
|
nullH = $null.height();
|
|
|
|
|
|
if ($null.length === 0) {
|
...
|
...
|
@@ -31,7 +32,7 @@ function fixedLayOut() { |
|
|
}
|
|
|
|
|
|
$null.css({
|
|
|
top: winH / 2 - nullH / 2
|
|
|
top: winH / 2 - nullH / 2 + navH
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
|