1
1
Fork 0

Merge pull request #879 from fabrixxm/acl_automention

acl automention: fix stupid typo...
This commit is contained in:
fabrixxm 2014-01-03 07:00:39 -08:00
commit e97a579856

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) {