[ui] fix typos

This commit is contained in:
Julien-Haudegond 2020-08-17 11:16:53 +02:00
parent 887b33490e
commit 79e96e7c06
2 changed files with 2 additions and 2 deletions

View file

@ -246,7 +246,7 @@ Entity {
} }
function updateCacheAndModel(forceRequest) { function updateCacheAndModel(forceRequest) {
// don't cache explicitely unloaded media // don't cache explicitly unloaded media
if(model.requested && object && dependencyReady) { if(model.requested && object && dependencyReady) {
// cache current object // cache current object
if(cache.add(Filepath.urlToString(mediaLoader.source), object)); if(cache.add(Filepath.urlToString(mediaLoader.source), object));

View file

@ -31,7 +31,7 @@ import Utils 1.0
return; return;
} }
// clear previously created objet if any // clear previously created object if any
if(object) { if(object) {
object.destroy(); object.destroy();
object = null; object = null;