mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-08 13:05:28 +00:00
fix(mail): remove onpointerrawupdate event handler from HTML messages
Fixes #4979
This commit is contained in:
@@ -58,7 +58,14 @@
|
||||
elem.on('keyup', AutoGrowTextArea);
|
||||
elem.on('paste', AutoGrowTextArea);
|
||||
|
||||
AutoGrowTextArea();
|
||||
var deregisterWatcher = scope.$watch(function() {
|
||||
return elem[0].value;
|
||||
}, function(content) {
|
||||
if (content) {
|
||||
AutoGrowTextArea();
|
||||
deregisterWatcher(); // watch once
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user