Show
Ignore:
Timestamp:
08/21/08 06:42:19 (3 months ago)
Author:
markjaquith
Message:

Consolidate our hide-if-no-js CSS/jQuery stuff. Now, just: hide-if-js, hide-if-no-js. Simple, easy to remember.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/js/common.js

    r8691 r8700  
    33    jQuery('.fade').animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300).animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300); 
    44 
    5     // Reveal 
    6     jQuery('.wp-no-js-hidden').removeClass( 'wp-no-js-hidden' ); 
    7      
    85    // show things that should be visible, hide what should be hidden 
    9     jQuery('.hide-if-no-js').show(); 
     6    jQuery('.hide-if-no-js').removeClass('hide-if-no-js'); 
    107    jQuery('.hide-if-js').hide(); 
    118