nodebb-theme-persona 12.0.11 → 12.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/public/persona.js
CHANGED
package/public/settings.js
CHANGED
|
@@ -18,7 +18,7 @@ define('forum/account/theme', ['forum/account/header', 'storage', 'settings', 'a
|
|
|
18
18
|
|
|
19
19
|
document.getElementById('persona:menus:legacy-layout').checked = sidebarSwapped;
|
|
20
20
|
try {
|
|
21
|
-
const parsed = JSON.parse(autohideNavbarEnvs);
|
|
21
|
+
const parsed = JSON.parse(autohideNavbarEnvs) || ['xs', 'sm'];
|
|
22
22
|
parsed.forEach((env) => {
|
|
23
23
|
const optionEl = document.getElementById('persona:navbar:autohide').querySelector(`option[value="${env}"]`);
|
|
24
24
|
optionEl.selected = true;
|
package/templates/login.tpl
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
{{{ end }}}
|
|
68
68
|
|
|
69
69
|
{{{ if alternate_logins }}}
|
|
70
|
-
<div class="{{{ if allowLocalLogin }}}col-md-6
|
|
70
|
+
<div class="{{{ if allowLocalLogin }}}col-md-6{{{ else }}}col-md-12{{{ end }}}">
|
|
71
71
|
<div class="alt-login-block">
|
|
72
72
|
<h4>[[login:alternative_logins]]</h4>
|
|
73
73
|
<ul class="alt-logins">
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!-- This partial intentionally left blank; overwritten by nodebb-plugin-reactions -->
|