Remove useless check
This commit is contained in:
parent
9a47089483
commit
117dae49d9
@ -531,9 +531,7 @@ function addScript(url) {
|
||||
var tag = document.createElement('script');
|
||||
tag.setAttribute('type', 'text/javascript');
|
||||
tag.setAttribute('src', url);
|
||||
if (typeof tag != 'undefined') {
|
||||
document.getElementsByTagName('head')[0].appendChild(tag);
|
||||
}
|
||||
document.getElementsByTagName('head')[0].appendChild(tag);
|
||||
}
|
||||
|
||||
function isScriptLoaded(url) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user