Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2016-07-03 10:47:20 +0100
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
10418323ef12f60b23632484a2a01e5a20846ddb
10418323
1 parent
a11d5245
Prevented shift-tab from selecting a tag
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
resources/assets/js/directives.js
resources/assets/js/directives.js
View file @
1041832
...
...
@@ -485,7 +485,7 @@ module.exports = function (ngApp, events) {
changeActiveTo
(
newActive
,
suggestionElems
);
}
// Enter or tab key
else
if
(
event
.
keyCode
===
13
||
event
.
keyCode
===
9
)
{
else
if
(
(
event
.
keyCode
===
13
||
event
.
keyCode
===
9
)
&&
!
event
.
shiftKey
)
{
let
text
=
suggestionElems
[
active
].
textContent
;
currentInput
[
0
].
value
=
text
;
currentInput
.
focus
();
...
...
Please
register
or
sign in
to post a comment