codebase: Fix a typo.

This commit is contained in:
Akash Nimare
2018-12-05 20:01:44 +05:30
parent 06c8b2e8a2
commit 1f4509a6d2

View File

@@ -231,11 +231,11 @@ class ServerManagerView {
contextMenu.popup({ window: remote.getCurrentWindow() });
});
if ($serverImg.src.includes('img/icon.png')) {
this.displayInitalCharLogo($serverImg);
this.displayInitialCharLogo($serverImg);
}
$serverImg.addEventListener('error', () => {
this.displayInitalCharLogo($serverImg);
this.displayInitialCharLogo($serverImg);
});
});
}
@@ -276,7 +276,7 @@ class ServerManagerView {
return currentIndex;
}
displayInitalCharLogo($img) {
displayInitialCharLogo($img) {
const $altIcon = document.createElement('div');
const $parent = $img.parentElement;
const $container = $parent.parentElement;