This website works better with JavaScript.
Home
Explore
Help
Sign In
p3k
/
Quill
mirror of
https://github.com/aaronpk/Quill.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
add ctrl-s keyboard shortcut
pull/5/head
Aaron Parecki
10 years ago
parent
d6470f1872
commit
3f090eeb30
2 changed files
with
14 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
views/new-bookmark.php
+7
-0
views/new-post.php
+ 7
- 0
views/new-bookmark.php
View File
@ -62,6 +62,13 @@
<
script
>
$
(
function
(){
// ctrl-s to save
$
(
window
)
.
on
(
'keydown'
,
function
(
e
){
if
(
e
.
keyCode
==
83
&&
e
.
ctrlKey
){
$
(
"
#btn_post
"
)
.
click
();
}
});
$
(
"
#btn_post
"
)
.
click
(
function
(){
var
syndications
=
[];
+ 7
- 0
views/new-post.php
View File
@ -102,6 +102,13 @@
<
script
>
$
(
function
(){
// ctrl-s to save
$
(
window
)
.
on
(
'keydown'
,
function
(
e
){
if
(
e
.
keyCode
==
83
&&
e
.
ctrlKey
){
$
(
"
#btn_post
"
)
.
click
();
}
});
$
(
"
#btn_post
"
)
.
click
(
function
(){
var
syndications
=
[];
Write
Preview
Loading…
Cancel
Save