diff --git a/www/js/search.js b/www/js/search.js index 2edc7cb3a23899f577ae6156e885e97326eea9af..805508b433664692f1d1e112b2698456f13f3e19 100644 --- a/www/js/search.js +++ b/www/js/search.js @@ -48,7 +48,15 @@ define(['jquery', 'analytics'], function ($, analytics) { this._viewState = 0; this._renderTo = cntSel; - }; + $(function() { + $(cntSel).on('click', '.fn a', function() { + if (this.target !== '_blank') { + this.target = '_blank'; + } + }); + }); + + }; Directory.prototype._render = function(data) { if (this._searchCanceled) { return;