diff options
author | intrigeri <intrigeri@boum.org> | 2008-11-02 20:15:21 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-11-02 20:15:21 +0100 |
commit | 7b28deb171455a207e536b8abebbca67242a4588 (patch) | |
tree | 09d6933412129bbf110abd253d056bf374f400bd /underlays/javascript/relativedate.js | |
parent | b6a4da775945856b07fdc8f1330a86f67e329ac9 (diff) | |
parent | 2ebc0bb82dd907b6c0eaa39441378cb3bd8152d5 (diff) |
Merge branch 'prv/po' into pub/po
Diffstat (limited to 'underlays/javascript/relativedate.js')
-rw-r--r-- | underlays/javascript/relativedate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/underlays/javascript/relativedate.js b/underlays/javascript/relativedate.js index c5e62b3cc..8e05d4065 100644 --- a/underlays/javascript/relativedate.js +++ b/underlays/javascript/relativedate.js @@ -1,4 +1,4 @@ -// Causes html elements in the 'date' and 'pagedate' classes to be displayed +// Causes html elements in the 'relativedate' class to be displayed // as relative dates. The date is parsed from the title attribute, or from // the element content. @@ -7,7 +7,7 @@ var dateElements; hook("onload", getDates); function getDates() { - dateElements = getElementsByClass('date'); + dateElements = getElementsByClass('relativedate'); for (var i = 0; i < dateElements.length; i++) { var elt = dateElements[i]; var title = elt.attributes.title; |