Skip to content

Commit

Permalink
acl automention: fix stupid typo...
Browse files Browse the repository at this point in the history
  • Loading branch information
fabrixxm committed Jan 3, 2014
1 parent ad5a47a commit 67f844f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/acl.js
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 67f844f

Please sign in to comment.