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

Content deleted Content added
mNo edit summary
No edit summary
Line 16:
h5("Page history"));
var historyList = ul();
historyPortlet.appendChild(var historyPBody = div({ class: "pBody" }, historyList));
historyPortlet.appendChild(historyPBody);
}
 
Line 81 ⟶ 82:
var clearHistoryLink = a({ href: "#" }, em("clear history"));
clearHistoryLink.onclick = clearHistory;
historyListhistoryPBody.appendChild(lidiv({ style: "padding-top: 1em" }, clearHistoryLink));
{ style: "padding-top: 1em; text-align: right" }, clearHistoryLink));
}
}