Fix JS event not found error when being called from poll response.

This commit is contained in:
Mattias Põldaru 2012-03-17 08:19:52 +02:00
parent 081f9b04c2
commit 76221b4f52
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ window.OpenLP = {
);
},
loadController: function (event) {
event.preventDefault();
if (event) {
event.preventDefault();
}
$.getJSON(
"/api/controller/live/text",
function (data, status) {