mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-28 20:29:15 +02:00
MINOR Fixed some JS warnings
This commit is contained in:
parent
c6aa0697d3
commit
7924ce9f74
@ -42,11 +42,7 @@
|
||||
|
||||
this._super();
|
||||
},
|
||||
|
||||
onunmatch: function() {
|
||||
this._super();
|
||||
},
|
||||
|
||||
|
||||
redraw: function() {
|
||||
this.layout();
|
||||
},
|
||||
|
@ -83,7 +83,7 @@
|
||||
onunmatch: function() {
|
||||
// Prepare iframes for removal, otherwise we get loading bugs
|
||||
this.find('iframe').each(function() {
|
||||
this.contentWindow.location.href = 'about:blank';
|
||||
$(this).attr('src', 'about:blank');
|
||||
$(this).remove();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user