Skip to content

Commit

Permalink
MDL-69680 lib: Replace deprecated jQuery functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov authored and abgreeve committed Mar 4, 2021
1 parent ec47946 commit eaf40e0
Show file tree
Hide file tree
Showing 19 changed files with 27 additions and 23 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion admin/tool/policy/amd/src/acceptances_filter_datasource.js
Expand Up @@ -41,7 +41,7 @@ define(['jquery', 'core/ajax', 'core/notification'], function($, Ajax, Notificat
var selectedFilters = el.val();
$.each(originalOptions, function(index, option) {
// Skip option if it does not contain the query string.
if ($.trim(query) !== '' && option.label.toLocaleLowerCase().indexOf(query.toLocaleLowerCase()) === -1) {
if (query.trim() !== '' && option.label.toLocaleLowerCase().indexOf(query.toLocaleLowerCase()) === -1) {
return true;
}
// Skip filters that have already been selected.
Expand Down
2 changes: 1 addition & 1 deletion grade/grading/form/guide/amd/build/comment_chooser.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eaf40e0

Please sign in to comment.