Skip to content

Commit

Permalink
Fixes for jQuery 3.0's .load() API change.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdp1337 committed Jun 24, 2017
1 parent 63a76cb commit ed083d1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/blog/templates/pages/blog/import.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
go = setInterval(function(){ document.getElementById('import-log').contentWindow.scrollBy(0,20); }, 100);
$('#import-log').load(function(){
$('#import-log').on('load', function(){
clearInterval(go);
document.getElementById('import-log').contentWindow.scrollBy(0,200);
});
Expand Down
2 changes: 1 addition & 1 deletion src/core/assets/js/core.progress-log-iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
}
};

$iframe.load(function(){
$iframe.on('load', function(){
clearInterval(go);
processText();
$progressInner.css('width', '100%');
Expand Down
2 changes: 1 addition & 1 deletion src/core/assets/js/core.progress-log-iframe.min.js

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

2 changes: 1 addition & 1 deletion src/core/assets/js/updater/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Updater = {};
$terminal = $('<iframe name="terminal" id="terminal"></iframe>');
$form = $('<form action="' + url + '&verbose=1" method="POST" target="terminal"></form>');

$terminal.load(function(){
$terminal.on('load', function(){
var $body = $(this).contents().find('body'),
$results = $body.find('#results');

Expand Down
2 changes: 1 addition & 1 deletion src/core/assets/js/updater/index.min.js

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

0 comments on commit ed083d1

Please sign in to comment.