浏览代码

Fixed typo in error message.

Loic Bistuer 10 年之前
父节点
当前提交
285d173536
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/js/select2/options.js

+ 1 - 1
src/js/select2/options.js

@@ -61,7 +61,7 @@ define([
     if ($e.data('ajax-url')) {
       if (console && console.warn) {
         console.warn(
-          'Select2: The `data-ajax-attribute` has been changed to ' +
+          'Select2: The `data-ajax-url` has been changed to ' +
           '`data-ajax--url` and support for the old attribute will be removed' +
           ' in future versions of Select2.'
         );