             # One callback to rule them all
             $(window).mousemove @handle_mousemove
             $(window).mouseup @handle_mouseup
+            $(window).mousedown @handle_mousedown
             @id_execution = 0
+            @click_on_description = false
 
             @render()
 


        on_blur: =>
            @state.focus_on_codemirror = false
            @hide_suggestion_and_description()

        # We have to keep track of a lot of things because web-kit browsers handle the events keydown, keyup, blur etc... in a strange way.
        current_suggestions: []

            'click .close_queries_link': 'toggle_history'
            'click .toggle_options_link': 'toggle_options'
            'mousedown .nano_border_bottom': 'start_resize_history'
            # Let people click on the description and select text
            'mousedown .suggestion_description': 'mouse_down_description'
            'click .suggestion_description': 'stop_propagation'
            'mouseup .suggestion_description': 'mouse_up_description'

        mouse_down_description: (event) =>
            @click_on_description = true
            @stop_propagation event

        stop_propagation: (event) =>
            event.stopPropagation()

        mouse_up_description: (event) =>
            @click_on_description = false
            @stop_propagation event

        start_resize_history: (event) =>
            @history_view.start_resize event
