Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
b089867e
Unverified
Commit
b089867e
authored
Mar 21, 2019
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
#12720
parent
d86f7da4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/main/webapp/js/page.js
src/main/webapp/js/page.js
+2
-1
No files found.
src/main/webapp/js/page.js
View file @
b089867e
...
@@ -63,7 +63,7 @@ $.extend(Page.prototype, {
...
@@ -63,7 +63,7 @@ $.extend(Page.prototype, {
return
return
}
}
if
(
typeof
vditor
===
'
undefined
'
)
{
if
(
!
$
(
'
#soloEditorComment
'
).
hasClass
(
'
vditor
'
)
)
{
var
that
=
this
var
that
=
this
Util
.
addScript
(
Label
.
staticServePath
+
'
/js/lib/vditor-1.1.10/index.min.js
'
,
'
vditorScript
'
)
Util
.
addScript
(
Label
.
staticServePath
+
'
/js/lib/vditor-1.1.10/index.min.js
'
,
'
vditorScript
'
)
window
.
vditor
=
new
Vditor
(
'
soloEditorComment
'
,
{
window
.
vditor
=
new
Vditor
(
'
soloEditorComment
'
,
{
...
@@ -303,6 +303,7 @@ $.extend(Page.prototype, {
...
@@ -303,6 +303,7 @@ $.extend(Page.prototype, {
$
(
'
#soloEditorError
'
).
html
(
result
.
msg
)
$
(
'
#soloEditorError
'
).
html
(
result
.
msg
)
return
return
}
}
debugger
that
.
toggleEditor
()
that
.
toggleEditor
()
vditor
.
setValue
(
''
)
vditor
.
setValue
(
''
)
...
...
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