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
6931dd7f
Unverified
Commit
6931dd7f
authored
Mar 01, 2018
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a JS bug in the websocket terminal
parent
ff00cfe4
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 @
6931dd7f
...
...
@@ -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