diff --git a/src/nginxconfig/templates/app.vue b/src/nginxconfig/templates/app.vue
index 5aa2258..6c2b697 100644
--- a/src/nginxconfig/templates/app.vue
+++ b/src/nginxconfig/templates/app.vue
@@ -65,12 +65,12 @@ limitations under the License.
Config files
-
+
{{ nginxDir }}/{{ conf[0] }}
-
+
@@ -169,8 +169,7 @@ limitations under the License.
if (this.$data.active === index) this.$data.active = this.$data.domains.findIndex(d => d !== null);
},
highlightFiles() {
- for (const file of this.$refs.files)
- Prism.highlightElement(file, true);
+ Prism.highlightAllUnder(this.$refs.files, true);
},
checkChange(oldConf) {
// If nothing has changed for a tick, we can use the config files