Content deleted Content added
Mike Dillon (talk | contribs) m tweak history item label |
Mike Dillon (talk | contribs) No edit summary |
||
Line 6:
var pageHistoryCookieItemCount;
var pageHistoryBeforePorlet;
var pageHistoryExpiresInDays;
addOnloadHook(function () {
Line 12 ⟶ 13:
if (!pageHistoryCookieItemCount) pageHistoryCookieItemCount = 10;
if (!pageHistoryBeforePorlet) pageHistoryBeforePorlet = null;
if (!pageHistoryExpiresInDays) pageHistoryExpiresInDays = 0;
// Create portlet
Line 100 ⟶ 102:
historyCookie += encodedItem;
}
writeCookie(pageHistoryCookieName, historyCookie,
{ path: "/", expiresInDays: pageHistoryExpiresInDays });
});
|