             @PinnedTabsState.data.push info.itemId
             info.pane.moveItem(info.item, info.pinIndex)
 
-        setTimeout (-> e.classList.toggle 'pinned' ), 1
+        setTimeout (-> e.classList.toggle 'pinned'), 1
 
     getTabInformation: (e) ->
         return if e == null

                        tab.classList.add 'pinned'
                    else if state.indexOf(info.itemURI) >= 0
                        tab.classList.add 'pinned'
            ), 1

    serialize: ->
        @PinnedTabsState.serialize()

    pin: (e) ->
        return unless info = @getTabInformation e

        if info.isPinned
            index = @PinnedTabsState.data.indexOf info.itemId
            @PinnedTabsState.data.splice(index, 1) if index >= 0
            info.pane.moveItem(info.item, info.unpinIndex)
