Dotclear


Ignore:
Timestamp:
08/25/13 15:18:38 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Issue #1541: hide or display adapted message when js is enabled or not
Add js class to html, removed by jQuery on pageLoad event.
Add some css classes :

  • js-hidden : use to hide element that need to be displayed when js is enabled
  • no-js-hidden : use to hide element that need to be displayed when js is not enabled
File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r1573 r1576  
    338338-------------------------------------------------------- */ 
    339339$(function() { 
     340     // remove class no-js from html tag 
     341     $('html').removeClass('no-js'); 
     342 
    340343     // Blog switcher 
    341344     $('#switchblog').change(function() { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map