lots of style changes
This commit is contained in:
@ -30,10 +30,19 @@
|
||||
connection.invoke('SaveName', $yourNameText.val(), color);
|
||||
};
|
||||
|
||||
let setHeight = function () {
|
||||
|
||||
var editorHeight = $(window).height() - $('header').outerHeight() - $('footer').outerHeight();
|
||||
|
||||
$('#editor').height(editorHeight - 2);
|
||||
};
|
||||
|
||||
isLiveMode();
|
||||
setHeight();
|
||||
|
||||
// events
|
||||
$(window).on('hashchange', isLiveMode);
|
||||
$(window).resize(setHeight);
|
||||
$('#your-name-text, #your-color-text').doneTyping(sendName);
|
||||
|
||||
let isTeacher = window.location.hash === '#4ELQcUq7UnFGghAZCVr4Chr9JmtncigfkGu5WSf9';
|
||||
|
@ -1,4 +1 @@
|
||||
// Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
|
||||
// for details on configuring this project to bundle and minify static web assets.
|
||||
|
||||
// Write your JavaScript code.
|
||||
|
Reference in New Issue
Block a user