Browse Source

oops changed some work in the js file

Revert "change logo"

This reverts commit 9325100a02.
master
Caleb James DeLisle 6 years ago
parent
commit
652a1da7a4
2 changed files with 4 additions and 6 deletions
  1. BIN
      cryptofist.png
  2. 10
      www/realtime-wysiwyg.js

BIN
cryptofist.png

Before After
Width: 620  |  Height: 726  |  Size: 303 KiB Width: 642  |  Height: 570  |  Size: 249 KiB

10
www/realtime-wysiwyg.js

@ -451,11 +451,6 @@ window.ErrorBox = ErrorBox;
var onEvent = function () { };
var toolbar = createRealtimeToolbar('#cke_1_toolbox');
var userListElement = createUserList(toolbar.find('.rtwysiwyg-toolbar-leftside'));
var spinner = createSpinner(toolbar.find('.rtwysiwyg-toolbar-rightside'));
var lagElement = createLagElement(toolbar.find('.rtwysiwyg-toolbar-rightside'));
var userList
var allMessages = [];
var isErrorState = false;
@ -493,7 +488,6 @@ console.log(new Error().stack);
socket.onOpen.push(function (evt) {
if (!initializing) {
socket.realtime.start();
updateUserList(userName, userListElement, userList);
return;
}
@ -506,6 +500,10 @@ console.log(new Error().stack);
//createDebugLink(realtime, doc, allMessages, toolbar);
var userListElement = createUserList(toolbar.find('.rtwysiwyg-toolbar-leftside'));
var spinner = createSpinner(toolbar.find('.rtwysiwyg-toolbar-rightside'));
var lagElement = createLagElement(toolbar.find('.rtwysiwyg-toolbar-rightside'));
setInterval(function () {
if (initializing || isSocketDisconnected(socket, realtime)) { return; }
checkLag(realtime, lagElement);

Loading…
Cancel
Save