Skip to content
Snippets Groups Projects

Add back _blank functionality removed recently

Merged Jeff Sturek requested to merge JSTUREK8/UNL_Search:master into master
1 file
+ 9
1
Compare changes
  • Side-by-side
  • Inline
+ 9
1
@@ -48,7 +48,15 @@ define(['jquery', 'analytics'], function ($, analytics) {
@@ -48,7 +48,15 @@ define(['jquery', 'analytics'], function ($, analytics) {
this._viewState = 0;
this._viewState = 0;
this._renderTo = cntSel;
this._renderTo = cntSel;
};
$(function() {
 
$(cntSel).on('click', '.fn a', function() {
 
if (this.target !== '_blank') {
 
this.target = '_blank';
 
}
 
});
 
});
 
 
};
Directory.prototype._render = function(data) {
Directory.prototype._render = function(data) {
if (this._searchCanceled) {
if (this._searchCanceled) {
return;
return;
Loading