()
| 68 | const ownerui = $('.ui-owner') |
| 69 | |
| 70 | export function updateLastChange () { |
| 71 | if (!window.lastchangeui) return |
| 72 | if (window.createtime) { |
| 73 | if (window.createtime && !window.lastchangetime) { |
| 74 | window.lastchangeui.status.text('created') |
| 75 | } else { |
| 76 | window.lastchangeui.status.text('changed') |
| 77 | } |
| 78 | const time = window.lastchangetime || window.createtime |
| 79 | window.lastchangeui.time.html(moment(time).fromNow()) |
| 80 | window.lastchangeui.time.attr('title', moment(time).format('llll')) |
| 81 | } |
| 82 | } |
| 83 | setInterval(updateLastChange, 60000) |
| 84 | |
| 85 | window.lastchangeuser = null |
no outgoing calls
no test coverage detected