Commit a449afcf authored by Jonathan Wilkes's avatar Jonathan Wilkes

fix #322: regression where selection in boxes didn't get created properly

parent 80fe5356
......@@ -4890,6 +4890,7 @@ function select_text(cid, elem) {
} else if (win.getSelection) {
range = win.document.createRange();
range.selectNodeContents(elem);
win.getSelection().removeAllRanges();
win.getSelection().addRange(range);
}
}
......
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