front_idill/src/mosaic/js/neighbours.js
changeset 58 a28488078053
parent 55 afd60399a7b5
child 77 205409da0f32
--- a/front_idill/src/mosaic/js/neighbours.js	Mon Jul 30 16:45:46 2012 +0200
+++ b/front_idill/src/mosaic/js/neighbours.js	Tue Jul 31 16:26:00 2012 +0200
@@ -490,7 +490,7 @@
     $('#snapshotDiv-' + destinationId).css('opacity', '1');
     
     //Si le player est prĂȘt.
-    if(_this.playerIsReady)
+    if(_this.player && _this.player.widgets[0] && _this.playerIsReady)
     {
         //Si on est en mode timeline on la quitte.
         if(_this.currentMode == 'TIMELINE')