Emulate the CTRL+click behavior.

Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
This commit is contained in:
Eric Riggs
2018-03-14 04:05:06 -04:00
committed by Roberto Rosario
parent ee3683f6ac
commit a4f5febf38
2 changed files with 5 additions and 1 deletions

View File

@@ -10,7 +10,6 @@ These are errors or issues that are blocking a release.
UI - Frontend
~~~~~~~~~~~~~
- Match row height is not executing until scroll.
- Fix shift+click and control+click.
UI - Backend

View File

@@ -127,6 +127,11 @@ PartialNavigation.prototype.onAnchorClick = function ($this, event) {
event.preventDefault();
if (event.ctrlKey) {
window.open(url);
return false;
}
if (!($this.hasClass('disabled') || $this.parent().hasClass('disabled'))) {
this.setLocation(url);
}