Merge "RCFilters: Don't load JS or redirect when transcluding"
[lhc/web/wiklou.git] / resources / src / startup.js
index b0c1578..8e8463d 100644 (file)
@@ -162,5 +162,5 @@ window.isCompatible = function ( str ) {
                // Callback
                startUp();
        };
-       document.getElementsByTagName( 'head' )[ 0 ].appendChild( script );
+       document.head.appendChild( script );
 }() );