Use JQuery instead of getElementById.

This commit is contained in:
kovacsv 2019-05-13 15:03:30 +02:00
parent cb71983eff
commit e8d94e2b4f

View File

@ -49,7 +49,7 @@ ImporterApp.prototype.Init = function ()
}
var myThis = this;
var top = document.getElementById ('top');
var top = $('#top');
this.importerButtons = new ImporterButtons (top);
this.importerButtons.AddLogo ('Online 3D Viewer <span class="version">v 0.6.5</span>');
this.importerButtons.AddButton ('images/openfile.png', 'Open File', function () { myThis.OpenFile (); });