mask a problem in timelines view by not throwing a js error
This commit is contained in:
parent
42c86d9e6c
commit
c189c9cd20
1 changed files with 3 additions and 1 deletions
|
@ -297,7 +297,9 @@ pandora.ui.list = function() {
|
||||||
element: Ox.BlockVideoTimeline,
|
element: Ox.BlockVideoTimeline,
|
||||||
events: {
|
events: {
|
||||||
position: function(event) {
|
position: function(event) {
|
||||||
pandora.$ui.videoPreview.options({
|
// FIXME: we need a way to set the position
|
||||||
|
// once the video preview has loaded
|
||||||
|
pandora.$ui.videoPreview && pandora.$ui.videoPreview.options({
|
||||||
position: event.position
|
position: event.position
|
||||||
});
|
});
|
||||||
if (pandora.user.ui.videoPoints[data.id]) {
|
if (pandora.user.ui.videoPoints[data.id]) {
|
||||||
|
|
Loading…
Reference in a new issue