diff --git a/src/js/select2/options.js b/src/js/select2/options.js index 31b1b28c..88576ece 100644 --- a/src/js/select2/options.js +++ b/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.' );