Skip to content

Commit ff4429f

Browse files
edugptomchristie
authored andcommitted
fix e.indexOf is not a function error (#5982)
1 parent 9629886 commit ff4429f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/static/rest_framework/js/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $(document).ready(function() {
4141
$('.form-switcher a:first').tab('show');
4242
}
4343

44-
$(window).load(function() {
44+
$(window).on('load', function() {
4545
$('#errorModal').modal('show');
4646
});
4747
});

0 commit comments

Comments
 (0)