Show More
@@ -176,7 +176,7 b' function Graph() {' | |||||
176 | } |
|
176 | } | |
177 |
|
177 | |||
178 |
|
178 | |||
179 | function process_dates(){ |
|
179 | function process_dates(parentSelector){ | |
180 |
|
180 | |||
181 | // derived from code from mercurial/templatefilter.py |
|
181 | // derived from code from mercurial/templatefilter.py | |
182 |
|
182 | |||
@@ -253,7 +253,7 b' function process_dates(){' | |||||
253 | } |
|
253 | } | |
254 | } |
|
254 | } | |
255 |
|
255 | |||
256 | var nodes = document.querySelectorAll('.age'); |
|
256 | var nodes = document.querySelectorAll((parentSelector || '') + ' .age'); | |
257 | var dateclass = new RegExp('\\bdate\\b'); |
|
257 | var dateclass = new RegExp('\\bdate\\b'); | |
258 | for (var i=0; i<nodes.length; ++i){ |
|
258 | for (var i=0; i<nodes.length; ++i){ | |
259 | var node = nodes[i]; |
|
259 | var node = nodes[i]; |
General Comments 0
You need to be logged in to leave comments.
Login now