mirror of https://github.com/vector-im/riot-web
Add data-mx-theme to theme css for hot-reload
parent
2504c062f1
commit
4b12b711ee
|
@ -43,7 +43,7 @@
|
||||||
if (match) {
|
if (match) {
|
||||||
var title = match[1].charAt(0).toUpperCase() + match[1].slice(1);
|
var title = match[1].charAt(0).toUpperCase() + match[1].slice(1);
|
||||||
%>
|
%>
|
||||||
<link rel="stylesheet" disabled="disabled" title="<%= title %>" href="<%= file %>">
|
<link rel="stylesheet" disabled="disabled" data-mx-theme="<%= title %>" title="<%= title %>" href="<%= file %>">
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<link rel="stylesheet" href="<%= file %>">
|
<link rel="stylesheet" href="<%= file %>">
|
||||||
<% }
|
<% }
|
||||||
|
|
Loading…
Reference in New Issue