From b71578d631916fd1ece52327e82405225be44ffe Mon Sep 17 00:00:00 2001
From: Jeffrey Sturek <jsturek8@unl.edu>
Date: Tue, 26 Mar 2019 14:40:53 -0500
Subject: [PATCH] Add back _blank functionality removed recently

---
 www/js/search.js | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/www/js/search.js b/www/js/search.js
index 2edc7cb..805508b 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;
-- 
GitLab