Use JQuery instead of getElementById.
This commit is contained in:
parent
cb71983eff
commit
e8d94e2b4f
@ -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 (); });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user