Skip to content

Commit 796987c

Browse files
authored
Fix settings and typos (#2346)
* fix: ctrl buttons in sample config Control buttons like <Ctrl-y> are being interpreted as HTML nodes, using <script> prevents this. * docs: correct mapping to open settings
1 parent c8a5e15 commit 796987c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pages/options.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="viewport" content="width=device-width, initial-scale=1">
1010
</head>
1111
<body>
12-
<template id="sample">// an example to create a new mapping `ctrl-y`
12+
<script type="text/plain" id="sample">// an example to create a new mapping `ctrl-y`
1313
api.mapkey('<Ctrl-y>', 'Show me the money', function() {
1414
api.Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
1515
});
@@ -58,7 +58,7 @@
5858
#sk_status, #sk_find {
5959
font-size: 20pt;
6060
}`;
61-
// click `Save` button to make above settings to take effect.</template>
61+
// click `Save` button to make above settings to take effect.</script>
6262
<template id="templateProxyPair">
6363
<div class="deleteProxyPair">🗑️</div>
6464
<div class="proxy">

src/pages/start.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* `og` to open Google Search.
2323
* `ob` to open Baidu Search.
2424
* `t` to open URL.
25-
* `se` to edit Settings.
25+
* `;e` to edit Settings.
2626
* `?` to find more shortcuts.
2727

2828
## [FAQ from Surfingkeys wiki](https://github.com/brookhong/Surfingkeys/wiki/FAQ)

0 commit comments

Comments
 (0)