initialize allowUserFeedback to true if it is not defined
This commit is contained in:
1 parent
de5a21fe57
commit
4941674cf7
1 file changed
+5
@@ -135,6 +135,11 @@ define([
|
||||
if (typeof(f) === 'function') {
|
||||
f(void 0, store);
|
||||
}
|
||||
|
||||
if (typeof(proxy.allowUserFeedback) !== 'boolean') {
|
||||
proxy.allowUserFeedback = true;
|
||||
}
|
||||
|
||||
proxy.on('change', [Cryptpad.displayNameKey], function (o, n, p) {
|
||||
if (typeof(n) !== "string") { return; }
|
||||
Cryptpad.changeDisplayName(n);
|
||||
|
||||
Reference in new issue
Block a user