mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-20 07:12:58 -05:00
same window
This commit is contained in:
@@ -315,8 +315,7 @@
|
|||||||
listEl.addEventListener( 'click', function(ev){
|
listEl.addEventListener( 'click', function(ev){
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
var win = window.open( fileUrl, '_blank' );
|
window.location.href = fileUrl;
|
||||||
win.focus();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user