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
59c133b3
Unverified
Commit
59c133b3
authored
Mar 04, 2019
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
#12695
parent
e59c3495
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/main/webapp/js/common.js
src/main/webapp/js/common.js
+10
-1
No files found.
src/main/webapp/js/common.js
View file @
59c133b3
...
@@ -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.
6.0.0, Feb 21
, 2019
* @version 1.
7.0.0, Mar 4
, 2019
*/
*/
/**
/**
...
@@ -93,6 +93,14 @@ var Util = {
...
@@ -93,6 +93,14 @@ var Util = {
})
})
}
}
},
},
/**
* 图片预览
*/
previewImg
:
function
()
{
$
(
'
body
'
).
on
(
'
click
'
,
'
.content-reset img
'
,
function
()
{
window
.
open
(
this
.
src
);
});
},
/**
/**
* 按需加载 MathJax 及 flow
* 按需加载 MathJax 及 flow
* @returns {undefined}
* @returns {undefined}
...
@@ -286,6 +294,7 @@ var Util = {
...
@@ -286,6 +294,7 @@ var Util = {
Util
.
setTopBar
()
Util
.
setTopBar
()
Util
.
parseMarkdown
()
Util
.
parseMarkdown
()
Util
.
initSW
()
Util
.
initSW
()
Util
.
previewImg
()
},
},
/**
/**
* @description 注册 Service Work
* @description 注册 Service Work
...
...
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