summaryrefslogtreecommitdiff
path: root/plugin_manager/plugin_manager_fixes.js
blob: af08e6ec101c5de1ffb055c22bf4d753c0d34d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if(window.rcmail){
  rcmail.addEventListener('init', function(){
    // logo click (all Roundcube versions)
    if(rcmail.env.skin == 'larry'){
      $('#toplogo').attr('onclick', '');
      $('#toplogo').click(function(){
        $('.button-mail').click();
      });
      $('#toplogo').attr('style', 'cursor: pointer');
    }
  });

  // fix date alignment
  if(rcmail.env.task == 'mail' && !rcmail.env.framed && !rcmail.env.extwin){
    rcmail.addEventListener('listupdate', function(){
      $(window).trigger('resize');
    });
  }
}