Browse Source

acl automention: fix stupid typo...

pull/879/head
fabrixxm 7 years ago
parent
commit
67f844f561
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      js/acl.js

+ 2
- 2
js/acl.js View File

@ -36,7 +36,7 @@ function ACL(backend_url, preset, automention){
}
ACL.prototype.remove_mention = function(id) {
if (!that.aclautomention) return;
if (!that.automention) return;
var nick = that.data[id].nick;
var searchText = "@"+nick+"+"+id+" ";
if (tinyMCE.activeEditor===null) {
@ -54,7 +54,7 @@ ACL.prototype.remove_mention = function(id) {
}
ACL.prototype.add_mention = function(id) {
if (!that.aclautomention) return;
if (!that.automention) return;
var nick = that.data[id].nick;
var searchText = "@"+nick+"+"+id+" ";
if (tinyMCE.activeEditor===null) {


Loading…
Cancel
Save