add
This commit is contained in:
16
pkg/jquery.hotkeys/hotkeys.js
Normal file
16
pkg/jquery.hotkeys/hotkeys.js
Normal file
@ -0,0 +1,16 @@
|
||||
$(function(){
|
||||
$(document).bind('keydown','ctrl+return',
|
||||
function(){
|
||||
$("home-layout").toggle();
|
||||
$('#terminal').click();
|
||||
var element=document.getElementById("window");
|
||||
var rect=element.getBoundingClientRect();
|
||||
var positionX=rect.left+window.pageXOffset;
|
||||
var positionY=rect.top+window.pageYOffset;
|
||||
window.scrollTo(positionX,positionY);
|
||||
})
|
||||
$('.move').click(
|
||||
function(){
|
||||
this.focus();
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user