Sign in
dlstatic
/
static-wappnr
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
22a75bd64a233bab1bc77ba48914a46301368828
Authored by
bichao.dong
2015-12-11 10:40:02 +0800
1 parent
e7fefc6d
add input event
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
editer.html
editer.html
View file @
22a75bd
...
...
@@ -71,7 +71,7 @@
71
71
<script>
72
72
$(function() {
73
73
var selection, range;
74
- $('.editer').on('click
', function(){
74
+ $('.editer').on('click
, input
', function(){
75
75
selection = window.getSelection();
76
76
range = selection.getRangeAt(0);//找到焦点位置
77
77
});
...
...