Renames EtherpadContainerType to ETHERPAD_CONTAINER_TYPE.

This commit is contained in:
damencho 2016-03-17 21:58:40 -05:00
parent 7b55d8b526
commit eefdbd4fe5
1 changed files with 5 additions and 4 deletions

View File

@ -52,7 +52,7 @@ const DEFAULT_WIDTH = 640;
*/
const DEFAULT_HEIGHT = 480;
const EtherpadContainerType = "etherpad";
const ETHERPAD_CONTAINER_TYPE = "etherpad";
/**
* Container for Etherpad iframe.
@ -159,7 +159,7 @@ export default class EtherpadManager {
openEtherpad () {
this.etherpad = new Etherpad(this.domain, this.name);
VideoLayout.addLargeVideoContainer(
EtherpadContainerType,
ETHERPAD_CONTAINER_TYPE,
this.etherpad
);
}
@ -174,9 +174,10 @@ export default class EtherpadManager {
}
let isVisible = VideoLayout.isLargeContainerTypeVisible(
EtherpadContainerType
ETHERPAD_CONTAINER_TYPE
);
VideoLayout.showLargeVideoContainer(EtherpadContainerType, !isVisible);
VideoLayout.showLargeVideoContainer(
ETHERPAD_CONTAINER_TYPE, !isVisible);
}
}