Renames method.

This commit is contained in:
damencho
2016-03-22 14:59:03 -05:00
parent 9a39898eea
commit f0fd7d7435
+2 -2
View File
@@ -43,7 +43,7 @@ export default class SharedVideoManager {
return;
}
proposeToClose().then(() =>
showStopVideoPropmpt().then(() =>
this.emitter.emit(UIEvents.UPDATE_SHARED_VIDEO, null, 'stop'));
}
@@ -433,7 +433,7 @@ function getYoutubeLink(url) {
/**
* Ask user if he want to close shared video.
*/
function proposeToClose() {
function showStopVideoPropmpt() {
return new Promise(function (resolve, reject) {
messageHandler.openTwoButtonDialog(
"dialog.removeSharedVideoTitle",