generic-skin 3.0.6 → 3.0.7
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/apps/vueChrono.js +0 -0
- package/apps/vueChrono.min.js +0 -0
- package/apps/vueDefault.js +0 -0
- package/apps/vueDefault.min.js +0 -0
- package/apps/vueMulti.js +0 -0
- package/apps/vueMulti.min.js +0 -0
- package/apps/vueRela.js +0 -0
- package/apps/vueRela.min.js +0 -0
- package/config/vueComponents.js +0 -0
- package/config/vueComponents.min.js +0 -0
- package/config/vueElements.js +0 -0
- package/config/vueElements.min.js +0 -0
- package/config/vueFilters.js +0 -0
- package/config/vueFilters.min.js +0 -0
- package/extensions/vueRouter.js +0 -0
- package/extensions/vueRouter.min.js +0 -0
- package/frameworks/FNRFramework.js +4 -2
- package/frameworks/FNRFramework.min.js +0 -0
- package/general.js +0 -0
- package/general.min.js +0 -0
- package/options/noManagers.js +0 -0
- package/options/noManagers.min.js +0 -0
- package/package.json +1 -1
- package/pages/ucp.js +0 -0
- package/pages/ucp.min.js +0 -0
- package/plugins/sjcl.min.js +0 -0
- package/readme.md +0 -0
- package/stylesheet.css +0 -0
- package/stylesheet.min.css +0 -0
package/apps/vueChrono.js
CHANGED
|
File without changes
|
package/apps/vueChrono.min.js
CHANGED
|
File without changes
|
package/apps/vueDefault.js
CHANGED
|
File without changes
|
package/apps/vueDefault.min.js
CHANGED
|
File without changes
|
package/apps/vueMulti.js
CHANGED
|
File without changes
|
package/apps/vueMulti.min.js
CHANGED
|
File without changes
|
package/apps/vueRela.js
CHANGED
|
File without changes
|
package/apps/vueRela.min.js
CHANGED
|
File without changes
|
package/config/vueComponents.js
CHANGED
|
File without changes
|
|
File without changes
|
package/config/vueElements.js
CHANGED
|
File without changes
|
|
File without changes
|
package/config/vueFilters.js
CHANGED
|
File without changes
|
package/config/vueFilters.min.js
CHANGED
|
File without changes
|
package/extensions/vueRouter.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -180,7 +180,7 @@ const FNR = {
|
|
|
180
180
|
content: {
|
|
181
181
|
isAutosave: () => {
|
|
182
182
|
if (document.post === undefined) return false;
|
|
183
|
-
else return _userdata
|
|
183
|
+
else return _userdata !== undefined && document.post.mode.value === 'reply' && document.post.t !== undefined
|
|
184
184
|
},
|
|
185
185
|
getPost: (url) => {
|
|
186
186
|
return new Promise((resolve, reject) => {
|
|
@@ -265,13 +265,15 @@ const FNR = {
|
|
|
265
265
|
},
|
|
266
266
|
getLevel: () => {
|
|
267
267
|
return new Promise((resolve, reject) => {
|
|
268
|
+
if (_userdata === undefined) resolve('guest');
|
|
269
|
+
|
|
268
270
|
switch (_userdata.user_level) {
|
|
269
271
|
case 2:
|
|
270
272
|
resolve('mod');
|
|
271
273
|
case 1:
|
|
272
274
|
resolve('admin');
|
|
273
275
|
case 0:
|
|
274
|
-
|
|
276
|
+
resolve('user');
|
|
275
277
|
}
|
|
276
278
|
});
|
|
277
279
|
},
|
|
File without changes
|
package/general.js
CHANGED
|
File without changes
|
package/general.min.js
CHANGED
|
File without changes
|
package/options/noManagers.js
CHANGED
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
package/pages/ucp.js
CHANGED
|
File without changes
|
package/pages/ucp.min.js
CHANGED
|
File without changes
|
package/plugins/sjcl.min.js
CHANGED
|
File without changes
|
package/readme.md
CHANGED
|
File without changes
|
package/stylesheet.css
CHANGED
|
File without changes
|
package/stylesheet.min.css
CHANGED
|
File without changes
|