From f4323ddc24e5f329a46af3a3a135f78abc671da0 Mon Sep 17 00:00:00 2001 From: Nick Gordon Date: Sun, 24 Nov 2013 10:32:51 -0800 Subject: [PATCH] markdown links in chat will now open in a blank window. * added `target` attribute for the markdown directive to specify. default behavior is `_self`. --- public/js/directives/directives.js | 6 ++++-- views/options/social/chat-message.jade | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/public/js/directives/directives.js b/public/js/directives/directives.js index ce068984b9..d808790b7a 100644 --- a/public/js/directives/directives.js +++ b/public/js/directives/directives.js @@ -100,7 +100,7 @@ habitrpg.directive('habitrpgSortable', ['User', function(User) { .replace(/'/g, '''); }; if (cap[0].charAt(0) !== '!') { - return '