Skip to content

Commit

Permalink
Merge branch 'release/v1.2.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
axllent committed Nov 18, 2022
2 parents 0fde942 + 6570217 commit 3dd004e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Notable changes to Mailpit will be documented in this file.

## v1.2.9

### Bugfix
- Delay 200ms to set `target="_blank"` for all rendered email links


## v1.2.8

### Bugfix
Expand Down
6 changes: 3 additions & 3 deletions server/ui-src/templates/Message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export default {
document.activeElement.blur(); // blur focus
document.getElementById('message-view').scrollTop = 0;
// delay until vue has rendered
self.$nextTick(function () {
// delay 0.2s until vue has rendered the iframe content
window.setTimeout(function () {
let p = document.getElementById('preview-html');
if (p) {
// make links open in new window
Expand All @@ -82,7 +82,7 @@ export default {
}
self.resizeIframes();
}
});
}, 200);
// html highlighting
window.Prism = window.Prism || {};
Expand Down

0 comments on commit 3dd004e

Please sign in to comment.