Minor javascript fix.
This commit is contained in:
parent
ccc1d2b707
commit
6125f1d88b
@ -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'),
|
||||||
|
Loading…
Reference in New Issue
Block a user