User:Mike Dillon/Scripts/preloadNewArticle.js: Difference between revisions

Content deleted Content added
move preload article template into a module
 
No edit summary
Line 6:
 
addOnloadHook(function () {
if (!(preloadNewArticleOptions &&== preloadNewArticleOptions.length)null) return;{
alert("No preload template found");
return;
}
 
var newarticletext = document.getElementById("newarticletext");