set live mode enabled by default
This commit is contained in:
parent
da4de855d7
commit
70934782df
@ -37,14 +37,15 @@
|
||||
$('#editor').height(editorHeight - 2);
|
||||
};
|
||||
|
||||
isLiveMode();
|
||||
setHeight();
|
||||
|
||||
// events
|
||||
$(window).on('hashchange', isLiveMode);
|
||||
$(window).resize(setHeight);
|
||||
$('#your-name-text, #your-color-text').doneTyping(sendName);
|
||||
|
||||
isLiveMode();
|
||||
setHeight();
|
||||
window.location.hash = '#live'; // set live mode on by default
|
||||
|
||||
let isTeacher = window.location.hash === '#4ELQcUq7UnFGghAZCVr4Chr9JmtncigfkGu5WSf9';
|
||||
|
||||
if (isTeacher) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user