BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
87e16313
Commit
87e16313
authored
Mar 07, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '4326-fix-js-or-true' into 'master'
Fix a JS bug in the websocket terminal See merge request gitlab-org/gitlab-ce!17470
parents
10cf1294
6931dd7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
terminal.js
app/assets/javascripts/terminal/terminal.js
+8
-2
No files found.
app/assets/javascripts/terminal/terminal.js
View file @
87e16313
...
...
@@ -6,8 +6,14 @@
constructor
(
options
)
{
this
.
options
=
options
||
{};
this
.
options
.
cursorBlink
=
options
.
cursorBlink
||
true
;
this
.
options
.
screenKeys
=
options
.
screenKeys
||
true
;
if
(
!
Object
.
prototype
.
hasOwnProperty
.
call
(
this
.
options
,
'cursorBlink'
))
{
this
.
options
.
cursorBlink
=
true
;
}
if
(
!
Object
.
prototype
.
hasOwnProperty
.
call
(
this
.
options
,
'screenKeys'
))
{
this
.
options
.
screenKeys
=
true
;
}
this
.
container
=
document
.
querySelector
(
options
.
selector
);
this
.
setSocketUrl
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment