Browse Source

Renames method.

master
damencho 9 years ago
parent
commit
f0fd7d7435
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      modules/UI/shared_video/SharedVideo.js

+ 2
- 2
modules/UI/shared_video/SharedVideo.js View File

@@ -43,7 +43,7 @@ export default class SharedVideoManager {
43 43
             return;
44 44
         }
45 45
 
46
-        proposeToClose().then(() =>
46
+        showStopVideoPropmpt().then(() =>
47 47
             this.emitter.emit(UIEvents.UPDATE_SHARED_VIDEO, null, 'stop'));
48 48
     }
49 49
 
@@ -433,7 +433,7 @@ function getYoutubeLink(url) {
433 433
 /**
434 434
  * Ask user if he want to close shared video.
435 435
  */
436
-function proposeToClose() {
436
+function showStopVideoPropmpt() {
437 437
     return new Promise(function (resolve, reject) {
438 438
         messageHandler.openTwoButtonDialog(
439 439
             "dialog.removeSharedVideoTitle",

Loading…
Cancel
Save