mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 23:45:45 +01:00
fixed #723 - bootswatch now using BootstrapCDN, scheme-independant URL
This commit is contained in:
@@ -114,7 +114,7 @@ define(function() {
|
|||||||
|
|
||||||
for (var x = 0; x < numThemes; x++) {
|
for (var x = 0; x < numThemes; x++) {
|
||||||
var theme = bootswatch.themes[x];
|
var theme = bootswatch.themes[x];
|
||||||
themeEl.setAttribute('data-css', theme.cssMin);
|
themeEl.setAttribute('data-css', theme.cssCdn);
|
||||||
themeEl.setAttribute('data-theme', theme.name);
|
themeEl.setAttribute('data-theme', theme.name);
|
||||||
themeEl.innerHTML = '<img src="' + theme.thumbnail + '" />' +
|
themeEl.innerHTML = '<img src="' + theme.thumbnail + '" />' +
|
||||||
'<div>' +
|
'<div>' +
|
||||||
|
|||||||
Reference in New Issue
Block a user