switch to single quotes when possible
This commit is contained in:
@@ -109,7 +109,7 @@ function getPluginHtml(plugin, options, installedPlugins) {
|
||||
if (plugin.imageUrl) {
|
||||
html += `<img src="${plugin.imageUrl}" style="width:100%" />`;
|
||||
} else {
|
||||
html += `<span class="cardImageIcon material-icons extension"></span>`;
|
||||
html += '<span class="cardImageIcon material-icons extension"></span>';
|
||||
}
|
||||
|
||||
html += '</a>';
|
||||
|
||||
@@ -72,7 +72,7 @@ function getPluginCardHtml(plugin, pluginConfigurationPages) {
|
||||
if (plugin.HasImage) {
|
||||
html += `<img src="/Plugins/${plugin.Id}/${plugin.Version}/Image" style="width:100%" />`;
|
||||
} else {
|
||||
html += `<span class="cardImageIcon material-icons extension"></span>`;
|
||||
html += '<span class="cardImageIcon material-icons extension"></span>';
|
||||
}
|
||||
|
||||
html += configPageUrl ? '</a>' : '</div>';
|
||||
|
||||
Reference in New Issue
Block a user