From 6125f1d88bddddf92733fea5a7ab8dec5d718f1c Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Fri, 20 Apr 2012 22:41:57 +0200 Subject: [PATCH] Minor javascript fix. --- openslides/projector/static/javascript/projector-control.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openslides/projector/static/javascript/projector-control.js b/openslides/projector/static/javascript/projector-control.js index cfa00e525..3948cb97b 100644 --- a/openslides/projector/static/javascript/projector-control.js +++ b/openslides/projector/static/javascript/projector-control.js @@ -23,7 +23,7 @@ $(function() { // control the projector $('.projector_edit').click(function(event) { event.preventDefault(); - link = $(this); + var link = $(this); $.ajax({ type: 'GET', url: link.attr('href'), @@ -36,7 +36,7 @@ $(function() { // control countdown $('.projector_countdown').click(function(event) { event.preventDefault(); - link = $(this); + var link = $(this); $.ajax({ type: 'GET', url: link.attr('href'), @@ -47,7 +47,7 @@ $(function() { }); $('.countdown_visible_link').click(function(event) { event.preventDefault(); - link = $(this); + var link = $(this); $.ajax({ type: 'GET', url: link.attr('href'),