Permalink
Browse files

Fixed #553 add clear console to keyboard shortcut help

  • Loading branch information...
1 parent f21883d commit 9fe157dbe61650d8e074c7de8b574da9fa858465 @remy remy committed Apr 3, 2013
Showing with 5 additions and 1 deletion.
  1. +1 −1 public/js/jsbin.js
  2. +4 −0 views/index.html
View
@@ -231,7 +231,7 @@ $document.one('jsbinReady', function () {
if (navigator.userAgent.indexOf(' Mac ') !== -1) (function () {
var el = $('#keyboardHelp')[0];
- el.innerHTML = el.innerHTML.replace(/ctrl/g, 'cmd');
+ el.innerHTML = el.innerHTML.replace(/ctrl/g, 'cmd').replace(/Ctrl/g, 'ctrl');
})();
if (false) { //window.top !== window && location.pathname.indexOf('/embed') === -1) {
View
@@ -308,6 +308,10 @@
<td>Re-render JavaScript.<br>If console visible: run JS in console</td>
</tr>
<tr>
+ <td>Ctrl + l</td>
+ <td>Clear the console</td>
+ </tr>
+ <tr>
<td>ctrl + \</td>
<td>Auto hide navigation bar</td>
</tr>

0 comments on commit 9fe157d

Please sign in to comment.