Skip to content

Commit

Permalink
fix: jquery 3.0+ bug
Browse files Browse the repository at this point in the history
  • Loading branch information
krissss committed Feb 7, 2018
1 parent 5dd4649 commit e289018
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion IframeAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class IframeAsset extends AssetBundle
{
public $sourcePath = __DIR__ . '/static/1.0';
public $sourcePath = __DIR__ . '/static/1.1';

public $css = [
'iframe-layout.css',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ $(function () {
} else {
topWin.find('.' + iframeWrapClass).append(html);
}
$('#iframe-' + title).load(function (e) {
$('#iframe-' + title).on('load', function (e) {
setIframeHeight(e.target);
});
}
Expand Down

0 comments on commit e289018

Please sign in to comment.