Minor javascript fix.

This commit is contained in:
Emanuel Schuetze 2012-04-20 22:41:57 +02:00
parent ccc1d2b707
commit 6125f1d88b

View File

@ -23,7 +23,7 @@ $(function() {
// control the projector // control the projector
$('.projector_edit').click(function(event) { $('.projector_edit').click(function(event) {
event.preventDefault(); event.preventDefault();
link = $(this); var link = $(this);
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: link.attr('href'), url: link.attr('href'),
@ -36,7 +36,7 @@ $(function() {
// control countdown // control countdown
$('.projector_countdown').click(function(event) { $('.projector_countdown').click(function(event) {
event.preventDefault(); event.preventDefault();
link = $(this); var link = $(this);
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: link.attr('href'), url: link.attr('href'),
@ -47,7 +47,7 @@ $(function() {
}); });
$('.countdown_visible_link').click(function(event) { $('.countdown_visible_link').click(function(event) {
event.preventDefault(); event.preventDefault();
link = $(this); var link = $(this);
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: link.attr('href'), url: link.attr('href'),