mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +03:00
Use correct ID for dynamically loaded scripts
This commit is contained in:
parent
243fa1a1d9
commit
210e82e798
@ -124,7 +124,7 @@ var Mibew = {};
|
||||
this.doLoadScript(
|
||||
this.requestURL
|
||||
+ '?' + this.getQuery(),
|
||||
'responseScript'
|
||||
'mibew-response-script'
|
||||
);
|
||||
|
||||
// Clean up request data
|
||||
@ -248,7 +248,7 @@ var Mibew = {};
|
||||
*/
|
||||
Mibew.Widget.prototype.cleanUpAfterRequest = function() {
|
||||
document.getElementsByTagName('head')[0]
|
||||
.removeChild(document.getElementById('responseScript'));
|
||||
.removeChild(document.getElementById('mibew-response-script'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user