Merge "Add MessagesBi.php"
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.delete.js
index c353a48..a7228ed 100644 (file)
@@ -1,7 +1,7 @@
 /*!
  * Scripts for action=delete at domready
  */
-( function ( mw, $ ) {
+( function () {
        $( function () {
                var colonSeparator = mw.message( 'colon-separator' ).text(),
                        summaryCodePointLimit = mw.config.get( 'wgCommentCodePointLimit' ),
@@ -24,7 +24,7 @@
                if ( summaryCodePointLimit ) {
                        reason.$input.codePointLimit( summaryCodePointLimit, filterFn );
                } else if ( summaryByteLimit ) {
-                       reason.$input.bytePointLimit( summaryByteLimit, filterFn );
+                       reason.$input.byteLimit( summaryByteLimit, filterFn );
                }
        } );
-}( mediaWiki, jQuery ) );
+}() );