         title.classList.add 'title'
 
         attachIcon = tab.appendChild document.createElement('div')
-        attachIcon.setAttribute 'tab-index',
         attachIcon.classList.add 'close-icon'
         attachIcon.classList.add 'pin-icon'
         attachIcon.onclick = (e) =>

            title.textContent = 'Executing...'

        return tab

    selectTab: (index) ->
        resultset = @resultsets[index]

        @element.style.display = 'block'

        @element.appendChild @createTabs(resultsets)
        @closedTabs = new Set()
        @selectTab(@selectedIndex)

    resizeStarted: (mouseEvent) ->
