Dotclear

source: admin/js/_comment.js @ 3706:170617361020

Revision 3706:170617361020, 336 bytes checked in by franck <carnet.franck.paul@…>, 8 years ago (diff)

use strict and no more linter warnings/errors as far as possible

RevLine 
[3706]1/*global $, dotclear, jsToolBar */
2'use strict';
3
[0]4$(function() {
[2860]5     if ($.isFunction(jsToolBar)) {
[2614]6          var tbComment = new jsToolBar(document.getElementById('comment_content'));
7          tbComment.draw('xhtml');
8     }
[2566]9
[0]10     $('#comment-form input[name="delete"]').click(function() {
11          return window.confirm(dotclear.msg.confirm_delete_comment);
12     });
[2566]13});
Note: See TracBrowser for help on using the repository browser.

Sites map