Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
3f2f4bda
Commit
3f2f4bda
authored
Jul 31, 2016
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove delay when hitting Reply... button on page with a lot of discussions
parent
957331bf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/gfm_auto_complete.js
app/assets/javascripts/gfm_auto_complete.js
+2
-2
app/assets/javascripts/gl_form.js
app/assets/javascripts/gl_form.js
+1
-1
No files found.
app/assets/javascripts/gfm_auto_complete.js
View file @
3f2f4bda
...
...
@@ -47,8 +47,8 @@
}
}
},
setup
:
function
(
wrap
)
{
this
.
input
=
$
(
'
.js-gfm-input
'
);
setup
:
function
(
input
)
{
this
.
input
=
input
||
$
(
'
.js-gfm-input
'
);
this
.
destroyAtWho
();
this
.
setupAtWho
();
if
(
this
.
dataSource
)
{
...
...
app/assets/javascripts/gl_form.js
View file @
3f2f4bda
...
...
@@ -21,7 +21,7 @@
this
.
form
.
find
(
'
.div-dropzone
'
).
remove
();
this
.
form
.
addClass
(
'
gfm-form
'
);
disableButtonIfEmptyField
(
this
.
form
.
find
(
'
.js-note-text
'
),
this
.
form
.
find
(
'
.js-comment-button
'
));
GitLab
.
GfmAutoComplete
.
setup
();
GitLab
.
GfmAutoComplete
.
setup
(
this
.
form
.
find
(
'
.js-gfm-input
'
)
);
new
DropzoneInput
(
this
.
form
);
autosize
(
this
.
textarea
);
this
.
addEventListeners
();
...
...
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