mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-44767 atto_editor: Browser hangs when making a selection
This commit is contained in:
parent
c531e2e632
commit
7887b47524
4 changed files with 4 additions and 4 deletions
|
@ -1027,7 +1027,7 @@ EditorSelection.prototype = {
|
|||
|
||||
var editor = this.editor,
|
||||
stopFn = function(node) {
|
||||
editor.contains(node);
|
||||
return editor.contains(node);
|
||||
};
|
||||
|
||||
selectednodes.each(function(node){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1023,7 +1023,7 @@ EditorSelection.prototype = {
|
|||
|
||||
var editor = this.editor,
|
||||
stopFn = function(node) {
|
||||
editor.contains(node);
|
||||
return editor.contains(node);
|
||||
};
|
||||
|
||||
selectednodes.each(function(node){
|
||||
|
|
|
@ -204,7 +204,7 @@ EditorSelection.prototype = {
|
|||
|
||||
var editor = this.editor,
|
||||
stopFn = function(node) {
|
||||
editor.contains(node);
|
||||
return editor.contains(node);
|
||||
};
|
||||
|
||||
selectednodes.each(function(node){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue