Commit 44e517454ddcdf910952c5689b462967e22fdb75
stop patchbay timestamps from conflicting with patchwork-next ones (hack)
Matt McKegg committed on 11/2/2016, 3:07:59 AMParent: 0b6026e7d70b137cb7549f1bc93d53877b144986
Files changed
modules/timestamp.js | changed |
modules/timestamp.js | ||
---|---|---|
@@ -6,14 +6,14 @@ | ||
6 | 6 | return el |
7 | 7 | } |
8 | 8 | |
9 | 9 | setInterval(function () { |
10 | - var els = [].slice.call(document.querySelectorAll('.timestamp')) | |
10 | + var els = [].slice.call(document.querySelectorAll('.pw__timestamp')) | |
11 | 11 | els.forEach(updateTimestampEl) |
12 | 12 | }, 60e3) |
13 | 13 | |
14 | 14 | exports.message_main_meta = function (msg) { |
15 | - return updateTimestampEl(h('a.enter.timestamp', { | |
15 | + return updateTimestampEl(h('a.enter.pw__timestamp', { | |
16 | 16 | href: '#'+msg.key, |
17 | 17 | timestamp: msg.value.timestamp, |
18 | 18 | title: new Date(msg.value.timestamp) |
19 | 19 | }, '')) |
Built with git-ssb-web