acl automention: fix stupid typo...

This commit is contained in:
fabrixxm 2014-01-03 15:17:46 +01:00
parent ad5a47aecf
commit 67f844f561

View file

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