   _addParagraphButton: (el) ->
     return unless @_paragraphHasContent(el)
 
-    @_paragraphButtons.push new FactlinkJailRoot.ParagraphIconButtonContainer el
+    new FactlinkJailRoot.ParagraphIconButtonContainer el
 
   _addParagraphButtonsBatch: (elements) ->
     for el in elements[0...10]

class ParagraphButtons

  constructor: ->
    @_paragraphButtons = []

  _paragraphHasContent: (el) ->
    $clonedEl = $(el).clone()

    $(selector).distinctDescendants().filter(':visible')

  addParagraphButtons: ->
    @_addParagraphButtonsBatch @_paragraphElements()
    FactlinkJailRoot.perf.add_timing_event 'paragraph buttons added'

