Dotclear

Changeset 1303:95e0b615367f for admin/js


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

Page help: better hiding/showing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r1140 r1303  
    153153               } 
    154154          } 
     155          $('p#help-button span').text($('#content').hasClass('with-help') ? dotclear.msg.help_hide : dotclear.msg.help); 
    155156          sizeBox(); 
    156157          return false; 
     
    196197     sizeBox(); 
    197198 
    198      var img = $('<span id="help-button">'+dotclear.msg.help+'</span>'); 
     199     var img = $('<p id="help-button"><span>'+dotclear.msg.help+'</span></p>'); 
    199200     var select = $(); 
    200201     img.click(function() { return toggle(); }); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map