mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Fix JS codestyle
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
$(document).ready(function(){
|
||||
$(document).ready(function () {
|
||||
$('#tabs').tabs();
|
||||
$('input.input-button').hover(
|
||||
function(){parent.$(this).addClass('hover');},
|
||||
function(){parent.$(this).removeClass('hover');}
|
||||
function () {
|
||||
parent.$(this).addClass('hover');
|
||||
},
|
||||
function () {
|
||||
parent.$(this).removeClass('hover');
|
||||
}
|
||||
);
|
||||
$(this).bind('keydown',function(event){
|
||||
switch(event.keyCode)
|
||||
{
|
||||
$(this).bind('keydown', function (event) {
|
||||
switch (event.keyCode) {
|
||||
case 27:
|
||||
parent.hideDwnl();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user