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
9dbb1d87
Commit
9dbb1d87
authored
Mar 30, 2017
by
Vanessa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
异步评论 emoji 处理
parent
55b331be
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
src/main/webapp/js/lib/CodeMirrorEditor/codemirror.min.css
src/main/webapp/js/lib/CodeMirrorEditor/codemirror.min.css
+1
-1
src/main/webapp/js/lib/compress/admin-lib.min.js
src/main/webapp/js/lib/compress/admin-lib.min.js
+16
-16
src/main/webapp/js/page.js
src/main/webapp/js/page.js
+2
-2
src/main/webapp/skins/9IPHP/macro-comments.ftl
src/main/webapp/skins/9IPHP/macro-comments.ftl
+1
-1
No files found.
src/main/webapp/js/lib/CodeMirrorEditor/codemirror.min.css
View file @
9dbb1d87
This diff is collapsed.
Click to expand it.
src/main/webapp/js/lib/compress/admin-lib.min.js
View file @
9dbb1d87
This diff is collapsed.
Click to expand it.
src/main/webapp/js/page.js
View file @
9dbb1d87
...
...
@@ -18,7 +18,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.2.
3.7, Feb 18
, 2017
* @version 1.2.
4.7, Mar 30
, 2017
*/
var
Page
=
function
(
tips
)
{
this
.
currentCommentId
=
""
;
...
...
@@ -615,7 +615,7 @@ $.extend(Page.prototype, {
}
if
(
typeof
(
addComment
)
===
"
undefined
"
)
{
// https://github.com/b3log/solo/issues/12246
that
.
addCommentAjax
(
result
.
cmtTpl
,
state
);
that
.
addCommentAjax
(
Util
.
replaceEmString
(
result
.
cmtTpl
)
,
state
);
}
else
{
// 1.9.0 向后兼容
that
.
addCommentAjax
(
addComment
(
result
,
state
),
state
);
}
...
...
src/main/webapp/skins/9IPHP/macro-comments.ftl
View file @
9dbb1d87
...
...
@@ -93,7 +93,7 @@
page.load();
Skin.initArticle("${tocLabel}", "${siteViewLabel}");
// emotions
page.replaceCommentsEm("#comments .co
mment-conten
t");
page.replaceCommentsEm("#comments .co
ntent-rese
t");
<#nested>
})();
</script>
...
...
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