~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/javascript/bugtask_index.js

  • Committer: Huw Wilkins
  • Date: 2011-04-13 01:12:03 UTC
  • mto: This revision was merged to the branch mainline in revision 12883.
  • Revision ID: huw.wilkins@canonical.com-20110413011203-qv7oz1fxwdetixa1
Changed animation properties to camel case so they work in Firefox.

Show diffs side-by-side

added added

removed removed

Lines of Context:
386
386
                    if (bugs_private_notification_enabled) {
387
387
                        if (Y.one('.global-notification').hasClass('hidden')) {
388
388
                            Y.one('.portlet.private').setStyle('color', '#333');
389
 
                            Y.one('.portlet.private').setStyle('background-color', '#fbfbfb');
 
389
                            Y.one('.portlet.private').setStyle('backgroundColor', '#fbfbfb');
390
390
                        }
391
391
                    }
392
392
                    Y.one('body').replaceClass('private', 'public');
454
454
            });
455
455
            var body_space = new Y.Anim({
456
456
                node: 'body',
457
 
                to: {'padding-top': '40px'},
 
457
                to: {'paddingTop': '40px'},
458
458
                duration: 0.2,
459
459
                easing: Y.Easing.easeOut
460
460
            });
493
493
            });
494
494
            var body_space = new Y.Anim({
495
495
                node: 'body',
496
 
                to: {'padding-top': 0},
 
496
                to: {'paddingTop': 0},
497
497
                duration: 0.2,
498
498
                easing: Y.Easing.easeOut
499
499
            });