Cleaned source code style, only for to test the github webhooks

This commit is contained in:
mdtrooper 2014-09-08 15:26:04 +02:00
parent 8efc616d19
commit dd0e71227f
1 changed files with 6 additions and 5 deletions

View File

@ -262,17 +262,18 @@ html_print_input_hidden("shortcut_id_user", $config['id_user']);
<script type='text/javascript'> <script type='text/javascript'>
$(function() { $(function() {
if (<?php echo json_encode((int) $shortcut_state); ?> < 2) { if (<?php echo json_encode((int) $shortcut_state); ?> < 2) {
$('#shortcut_bar').hide(); $('#shortcut_bar').hide();
$('#shortcut_button>img') $('#shortcut_button>img')
.css('transform', 'rotate(-90deg)') .css('transform', 'rotate(-90deg)')
.css('-o-transform', 'rotate(-90deg)') .css('-o-transform', 'rotate(-90deg)')
.css('-ms-transform', 'rotate(-90deg)') .css('-ms-transform', 'rotate(-90deg)')
.css('-moz-transform', 'rotate(-90deg)') .css('-moz-transform', 'rotate(-90deg)')
.css('-webkit-transform', 'rotate(-90deg)'); .css('-webkit-transform', 'rotate(-90deg)');
} else { }
else {
$('#shortcut_button>img') $('#shortcut_button>img')
.css('transform', 'rotate(90deg)') .css('transform', 'rotate(90deg)')
.css('-o-transform', 'rotate(90deg)') .css('-o-transform', 'rotate(90deg)')
@ -280,8 +281,8 @@ html_print_input_hidden("shortcut_id_user", $config['id_user']);
.css('-moz-transform', 'rotate(90deg)') .css('-moz-transform', 'rotate(90deg)')
.css('-webkit-transform', 'rotate(90deg)'); .css('-webkit-transform', 'rotate(90deg)');
} }
$('#shortcut_button').click (function () { $('#shortcut_button').click (function () {
if ($('#shortcut_bar').is(":visible")) { if ($('#shortcut_bar').is(":visible")) {
$('#shortcut_bar').slideUp(); $('#shortcut_bar').slideUp();