Changeset 2527:52b330f07bd8 for admin/js/_comments.js
- Timestamp:
- 11/08/13 16:54:05 (12 years ago)
- Branch:
- 2.6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_comments.js
r2526 r2527 1 1 dotclear.commentExpander = function(line) { 2 2 $('<a href="#"><img src="'+dotclear.img_plus_src+'" alt="'+dotclear.img_plus_alt+'"/></a>') 3 .click(function( ) {3 .click(function(e) { 4 4 dotclear.toggleArrow(this); 5 5 dotclear.viewCommentContent(line); 6 e.preventDefault(); 6 7 }) 7 8 .prependTo($(line).children().get(0)); // first td … … 10 11 dotclear.commentsExpander = function(line,lines) { 11 12 $('<a href="#"><img src="'+dotclear.img_plus_src+'" alt="'+dotclear.img_plus_alt+'"/></a>') 12 .click(function( ) {13 .click(function(e) { 13 14 dotclear.toggleArrow(this); 14 15 lines.each(function() { … … 16 17 dotclear.viewCommentContent(this,action); 17 18 }); 19 e.preventDefault(); 18 20 }) 19 21 .prependTo($(line).children().get(0)); // first td
Note: See TracChangeset
for help on using the changeset viewer.