Fix call to addEventListener (ticket #210).

This commit is contained in:
Michael Jumper
2012-11-07 14:54:02 -08:00
parent 7858b631d6
commit 3862a84014

View File

@@ -510,10 +510,10 @@ Guacamole.Layer = function(width, height) {
render_callback();
});
}, false);
// Unblock future operations after an error
video.addEventListener("error", lock.unblock);
video.addEventListener("error", lock.unblock, false);
// Play video as soon as current tasks are complete, now that the
// lock has been set up.