From 06f36664b85340ec87aab09a5bfbeab0f65f489f Mon Sep 17 00:00:00 2001 From: Jordan Hollinger Date: Fri, 13 Apr 2012 17:21:07 -0400 Subject: [PATCH] Fix re-enabling line numbers. issue #618 --- src/static/js/ace2_inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index d2d145035..b61c50e38 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -4635,7 +4635,7 @@ function Ace2Inner(){ function setClassPresence(elem, className, present) { if (present) $(elem).addClass(className); - else $(elem).removeClass(elem, className); + else $(elem).removeClass(className); } function setup()