git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 44e517454ddcdf910952c5689b462967e22fdb75

stop patchbay timestamps from conflicting with patchwork-next ones (hack)

Matt McKegg committed on 11/2/2016, 3:07:59 AM
Parent: 0b6026e7d70b137cb7549f1bc93d53877b144986

Files changed

modules/timestamp.jschanged
modules/timestamp.jsView
@@ -6,14 +6,14 @@
66 return el
77 }
88
99 setInterval(function () {
10- var els = [].slice.call(document.querySelectorAll('.timestamp'))
10+ var els = [].slice.call(document.querySelectorAll('.pw__timestamp'))
1111 els.forEach(updateTimestampEl)
1212 }, 60e3)
1313
1414 exports.message_main_meta = function (msg) {
15- return updateTimestampEl(h('a.enter.timestamp', {
15+ return updateTimestampEl(h('a.enter.pw__timestamp', {
1616 href: '#'+msg.key,
1717 timestamp: msg.value.timestamp,
1818 title: new Date(msg.value.timestamp)
1919 }, ''))

Built with git-ssb-web