Dotclear

Changeset 2632:3a1555f5fcff


Ignore:
Timestamp:
01/14/14 15:38:09 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Allow remember me on themes using button rather than input for "Preview"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/default/js/post.js

    r2566 r2632  
    11$(function() { 
    2      $('#comment-form p:has(input[type=submit][name=preview])'). 
     2     var btn = 
     3     $('#comment-form p:has(input[type=submit][name=preview],button[type=submit][name=preview])'). 
    34          before( 
    45               '<p class="remember"><input type="checkbox" id="c_remember" name="c_remember" /> ' + 
Note: See TracChangeset for help on using the changeset viewer.

Sites map