Open image links in new window.
authorMike Taylor <mike@indexdata.com>
Wed, 21 May 2014 14:54:57 +0000 (15:54 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 21 May 2014 14:54:57 +0000 (15:54 +0100)
examples/htdocs/mkws-widget-credo.js

index d6ba4e7..34ee2f8 100644 (file)
@@ -9,7 +9,7 @@ mkws.registerWidgetType('Credo', function() {
 
   this.team.registerTemplate('CredoImage', '\
       <div>\
-       <a href="{{md-electronic-url}}">\
+       <a href="{{md-electronic-url}}" target="_blank">\
         {{#mkws-first md-thumburl}}\
          <img src="{{this}}" alt="{{../md-title}}"/>\
         {{/mkws-first}}\