diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-20 19:22:22 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-20 19:22:22 -0400 |
commit | ee1ccfa863b9d56cf7ec987f7fee89c98c484b0b (patch) | |
tree | 5d4f1a56c91db78fd1b841a3fa3e4004439c2d24 /underlays/javascript | |
parent | 99bf734963590005d457165665b0d8797c6a6221 (diff) |
use relativedate as the css class for dates that should display relative
Diffstat (limited to 'underlays/javascript')
-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; |