Commit d4f5be29 authored by Kyle Needham's avatar Kyle Needham

Fix #405 by toggling checkbox manually if their is a current text selection.

parent eba71302
......@@ -456,6 +456,13 @@
var $target = $(event.target);
if (document.getSelection().type === 'Range') {
var $input = $(this).find("input:first");
$input.prop("checked", !$input.prop("checked"))
.trigger("change");
}
if (event.shiftKey) {
var checked = $target.prop('checked') || false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment