Skip to content

Commit

Permalink
Merge pull request #533 from rlskoeser/nodupe-controls
Browse files Browse the repository at this point in the history
Fix for duplicated editor control buttons
  • Loading branch information
tilgovi committed Jun 17, 2015
2 parents 1ce7fd9 + 663e967 commit f57907d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ var Editor = exports.Editor = Widget.extend({
checkOrientation: function () {
Widget.prototype.checkOrientation.call(this);

var list = this.element.find('ul'),
var list = this.element.find('ul').first(),
controls = this.element.find('.annotator-controls');

if (this.element.hasClass(this.classes.invert.y)) {
Expand Down

0 comments on commit f57907d

Please sign in to comment.