Browse Source

Fixed typo in error message.

Loic Bistuer 10 years ago
parent
commit
285d173536
1 changed files with 1 additions and 1 deletions
  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 ($e.data('ajax-url')) {
       if (console && console.warn) {
       if (console && console.warn) {
         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' +
           '`data-ajax--url` and support for the old attribute will be removed' +
           ' in future versions of Select2.'
           ' in future versions of Select2.'
         );
         );