Skip to content

Commit b4357a5

Browse files
committed
Replaced .bind deprecated jquery function calls
1 parent f45174a commit b4357a5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

webapp/src/main/webapp/js/visualization/dataTables.helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ $.fn.dataTableExt.oPagination.gmail_style = {
7272
});
7373

7474
/* Take the brutal approach to cancelling text selection */
75-
$('span', nPaging).bind('mousedown', function () {
75+
$('span', nPaging).on('mousedown', function () {
7676
return false;
77-
}).bind('selectstart', function () {
77+
}).on('selectstart', function () {
7878
return false;
7979
});
8080

webapp/src/main/webapp/js/visualization/entitycomparison/util.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ $.extend(this, i18nStringsUtil);
6767
});
6868

6969
/* Take the brutal approach to cancelling text selection */
70-
$('span', nPaging).bind('mousedown', function () {
70+
$('span', nPaging).on('mousedown', function () {
7171
return false;
72-
}).bind('selectstart', function () {
72+
}).on('selectstart', function () {
7373
return false;
7474
});
7575

webapp/src/main/webapp/js/visualization/mapofscience/InitializeMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function helper() {
8383
}
8484

8585
/* Using .load instead of .ready due to issue with IE and Google Maps API */
86-
$(window).bind("load",function() {
86+
$(window).on("load",function() {
8787

8888
ERROR_DISPLAY_WIDGET = new ErrorDisplayWidget({
8989
containerID: 'error-container'

0 commit comments

Comments
 (0)