blob: 8aba9c9ecdf6d42e291eefa60a1ef5f0fa8ee5d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$(document).ready(function(){
if(rcmail.env.skin == 'larry'){
if($('.minmodetoggle').get(0)){
var minmode = rcmail.get_cookie('minimalmode');
if(parseInt(minmode) || (minmode === null && $(window).height() < 850)){
$('#mainscreen').css('top', '55px');
}
$(window).resize(function(){
var minmode = rcmail.get_cookie('minimalmode');
if(parseInt(minmode) || (minmode === null && $(window).height() < 850)){
$('#mainscreen').css('top', '55px');
}
else{
$('#mainscreen').css('top', '132px');
}
});
}
}
if(parent.location.href != document.location.href){
if(rcmail.env.skin == 'larry'){
$('.formbuttons').hide();
}
else{
$('#formfooter').hide();
}
}
});
|