src/js/widgets/createAnnotationWidget.js
changeset 867 43f615b4dc48
parent 863 dc5e0ea0093c
child 873 a6602ce57aca
equal deleted inserted replaced
865:dce4fd00855f 867:43f615b4dc48
   354                       }
   354                       }
   355 
   355 
   356                       if (_this._state == "waitScreen") {
   356                       if (_this._state == "waitScreen") {
   357                         _this.showEndScreen(annotation);
   357                         _this.showEndScreen(annotation);
   358                         if (_this.cinecast_version) {
   358                         if (_this.cinecast_version) {
   359                           window.setTimeout(function() { _this.showStartScreen(); }, 5000);
   359                           window.setTimeout(function() { _this.showStartScreen(); }, typeof this.disable_share !== "undefined" && this.disable_share ? 5000 : 10000);
   360                         }
   360                         }
   361                       }
   361                       }
   362                       // hide the slicer widget
   362                       // hide the slicer widget
   363                       if (!_this.cinecast_version) {                      
   363                       if (!_this.cinecast_version) {                      
   364                         _this._Popcorn.trigger("IriSP.SliceWidget.hide");
   364                         _this._Popcorn.trigger("IriSP.SliceWidget.hide");