Dotclear

Changeset 1573:538469369fa5 for admin


Ignore:
Timestamp:
08/25/13 11:01:04 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Fixes title hierarchy in contextual help pages.
(And look Ma, I've fixed js for toggles on h4 instead of h3. I'm so pride!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r1563 r1573  
    176176          o.click(function() { 
    177177               $(this).nextAll().each(function() { 
    178                     if ($(this).is('h3')) { 
     178                    if ($(this).is('h4')) { 
    179179                         return false; 
    180180                    } 
     
    196196     this.find('>hr').remove(); 
    197197 
    198      this.find('h3').each(function() { textToggler($(this)); }); 
    199      this.find('h3:first').nextAll('*:not(h3)').hide(); 
     198     this.find('h4').each(function() { textToggler($(this)); }); 
     199     this.find('h4:first').nextAll('*:not(h4)').hide(); 
    200200     sizeBox(); 
    201201 
Note: See TracChangeset for help on using the changeset viewer.

Sites map