diff options
author | Matthias Bartelmeß <mba@fourplusone.de> | 2012-04-05 22:26:39 +0200 |
---|---|---|
committer | Matthias Bartelmeß <mba@fourplusone.de> | 2012-04-05 22:26:39 +0200 |
commit | 9b1536ac107791925a4c76799e19fc88c8ef690b (patch) | |
tree | e4d4d11509e722448b023346a0ef04190ac46353 /src | |
parent | ff9e4070921867031fec50f794ce44404df5dc1e (diff) | |
download | etherpad-lite-9b1536ac107791925a4c76799e19fc88c8ef690b.zip |
fixing 'rep is not defined' error
Diffstat (limited to 'src')
-rw-r--r-- | src/static/js/AttributeManager.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/js/AttributeManager.js b/src/static/js/AttributeManager.js index 2f40c4f4..0b10274d 100644 --- a/src/static/js/AttributeManager.js +++ b/src/static/js/AttributeManager.js @@ -51,8 +51,8 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({ */ setAttributesOnRange: function(start, end, attribs) { - var builder = Changeset.builder(rep.lines.totalWidth()); - ChangesetUtils.buildKeepToStartOfRange(rep, builder, start); + var builder = Changeset.builder(this.rep.lines.totalWidth()); + ChangesetUtils.buildKeepToStartOfRange(this.rep, builder, start); ChangesetUtils.buildKeepRange(this.rep, builder, start, end, attribs, this.rep.apool); return this.applyChangeset(builder); }, |