mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-22 10:43:10 -07:00
Merge 2c466d069b
into 2deda5b68a
This commit is contained in:
commit
dd1e0f6579
2 changed files with 6 additions and 1 deletions
|
@ -362,6 +362,11 @@ haste.prototype.configureShortcuts = function() {
|
||||||
///// Tab behavior in the textarea - 2 spaces per tab
|
///// Tab behavior in the textarea - 2 spaces per tab
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
||||||
|
var $key = $('#key');
|
||||||
|
$(document).click(function () {
|
||||||
|
$key.fadeToggle();
|
||||||
|
});
|
||||||
|
|
||||||
$('textarea').keydown(function(evt) {
|
$('textarea').keydown(function(evt) {
|
||||||
if (evt.keyCode === 9) {
|
if (evt.keyCode === 9) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
|
|
2
static/application.min.js
vendored
2
static/application.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue