Stopping click propagation should be avoided when used as a hack
for something else, as it interacts poorly with the open/close
mechanics of Bootstrap menus (amongst others).
(more [here](http://css-tricks.com/dangers-stopping-event-propagation/)
This code preserves the intended behaviour (toggling the checkbox when
clicking on the row, except for the link) without resorting to
`stopPropagation()`
OS X has optional behavior to only draw scrollbars during scroll,
which causes problems for CodeMirror's scrollbars.
CodeMirror's solution is to set a minimum size for their
scrollbars, which is always present.
The trade is that the container overlays most of the last line,
swallowing click events when there is scrolling to do,
even when no scrollbar is visible.
This reverses the trade, recovering the click events at the expense of
never showing the horizontal scrollbar on OS X when this option is enabled.
Widget.warning('text....') was infinitely sticky in some cases
like content manager raising 'not implemented' on copy.
The make default click_callback to dismiss notification,
and fix the logic to not unbind the click handler if it requests
the notification not to be dismissed.
fixes check for the case where kernelspec info is coming from the kernel,
rather than notebook metadata.
This case was getting skipped by a bad check on `_session_starting`.
OutputArea.collapsed should only be assigned inside expand/collapse methods
setting `collapsed = false` when it actually is collapsed prevents expand from having any effect,
resulting in apparently invisible output.
while it does improve repaint performance on *some* setups (OS X+Chrome+Low-DPI),
it seems to have no effect on most (OS X+FF, OS X+Chrome+High-DPI, Linux+Chrome),
and the opposite effect on others (Linux+FF).