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
9625930a
Unverified
Commit
9625930a
authored
Jul 08, 2018
by
Liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
https://github.com/b3log/pipe/issues/134
parent
0b51ef74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/main/webapp/js/common.js
src/main/webapp/js/common.js
+6
-2
No files found.
src/main/webapp/js/common.js
View file @
9625930a
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.3.
1.1, Jan 29
, 2018
* @version 1.3.
2.0, Jul 8
, 2018
*/
*/
/**
/**
...
@@ -127,12 +127,16 @@ var Util = {
...
@@ -127,12 +127,16 @@ var Util = {
var
className
=
className
||
'
article-body
'
;
var
className
=
className
||
'
article-body
'
;
$
(
'
.
'
+
className
).
each
(
function
()
{
$
(
'
.
'
+
className
).
each
(
function
()
{
$
(
this
).
find
(
'
p
'
).
each
(
function
()
{
$
(
this
).
find
(
'
p
'
).
each
(
function
()
{
if
(
$
(
this
).
text
().
indexOf
(
'
$
\\
'
)
>
-
1
||
$
(
this
).
text
().
indexOf
(
'
$$
'
)
>
-
1
)
{
if
(
$
(
this
).
text
().
split
(
'
$
'
).
length
>
2
||
(
$
(
this
).
text
().
split
(
'
\\
(
'
).
length
>
1
&&
$
(
this
).
text
().
split
(
'
\\
)
'
).
length
>
1
))
{
hasMathJax
=
true
;
hasMathJax
=
true
;
return
false
;
}
}
});
});
if
(
$
(
this
).
find
(
'
code.lang-flow, code.language-flow
'
).
length
>
0
)
{
if
(
$
(
this
).
find
(
'
code.lang-flow, code.language-flow
'
).
length
>
0
)
{
hasFlow
=
true
hasFlow
=
true
return
false
;
}
}
});
});
...
...
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