mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-19 22:50:22 +00:00
Fixed algorithm menu.
This commit is contained in:
@@ -587,7 +587,7 @@ Editor.prototype.init = function()
|
||||
devTools.style.left = 0;
|
||||
|
||||
resizeCanvas();
|
||||
this.application.onPostLoadEvent();
|
||||
this.application.onPostLoadEvent();
|
||||
|
||||
this.initAlgorithmList();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
|
||||
let DisableEmscripten = false;
|
||||
let PostLoadedCalled = false;
|
||||
|
||||
let editor = new Editor(document, window);
|
||||
|
||||
@@ -58,8 +59,12 @@ function handelImportGraph(files) {
|
||||
|
||||
function postLoadPage()
|
||||
{
|
||||
loadTexts();
|
||||
editor.init();
|
||||
if (!PostLoadedCalled)
|
||||
{
|
||||
loadTexts();
|
||||
editor.init();
|
||||
PostLoadedCalled = true;
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function ()
|
||||
|
||||
Reference in New Issue
Block a user