forked from openlp/openlp
Fix JS event not found error when being called from poll response.
This commit is contained in:
parent
081f9b04c2
commit
76221b4f52
@ -72,7 +72,9 @@ window.OpenLP = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
loadController: function (event) {
|
loadController: function (event) {
|
||||||
event.preventDefault();
|
if (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
}
|
||||||
$.getJSON(
|
$.getJSON(
|
||||||
"/api/controller/live/text",
|
"/api/controller/live/text",
|
||||||
function (data, status) {
|
function (data, status) {
|
||||||
|
Loading…
Reference in New Issue
Block a user