Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandermeij committed Dec 24, 2015
1 parent 9a8c024 commit 8897031
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/display/annotation_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,8 @@ var PopupAnnotationElement = (function PopupAnnotationElementClosure() {
* @returns {HTMLSectionElement}
*/
render: function PopupAnnotationElement_render() {
this.container.className = 'popupAnnotation';

var selector = '[data-annotation-id="' + this.data.parentId + '"]';
var parentElement = this.layer.querySelector(selector);
if (!parentElement) {
Expand Down

0 comments on commit 8897031

Please sign in to comment.