Mercurial > hg > rc1
comparison plugins/calendar/calendar_ui.js @ 18:e8f197ce1af3
try to reuse same tab for linking back to message
author | Charlie Root |
---|---|
date | Mon, 15 Jan 2018 10:28:32 -0500 |
parents | 3bd5fe8166b8 |
children |
comparison
equal
deleted
inserted
replaced
17:3bd5fe8166b8 | 18:e8f197ce1af3 |
---|---|
265 } | 265 } |
266 else if (url.match(/^[a-z0-9.-:]+(\/|$)/i)) { | 266 else if (url.match(/^[a-z0-9.-:]+(\/|$)/i)) { |
267 islink = true; | 267 islink = true; |
268 href = 'http://' + url; | 268 href = 'http://' + url; |
269 } | 269 } |
270 return islink ? '<a href="' + Q(href) + '" target="_blank">' + Q(url) + '</a>' : Q(url); | 270 return islink ? '<a href="' + Q(href) + '" target="_bptr">' + Q(url) + '</a>' : Q(url); |
271 } | 271 } |
272 | 272 |
273 // determine whether the given date is on a weekend | 273 // determine whether the given date is on a weekend |
274 var is_weekend = function(date) | 274 var is_weekend = function(date) |
275 { | 275 { |