mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Fix firefox by removing the document.execCommand('useCSS', false, true) stuff
This commit is contained in:
@@ -331,7 +331,7 @@ ready(function(model) {
|
||||
exports.updateSchema = function(e, el) {
|
||||
return schema.updateSchema(model);
|
||||
};
|
||||
exports.shortcuts = function(e) {
|
||||
return exports.shortcuts = function(e) {
|
||||
var code, command;
|
||||
if (!(e.metaKey || e.ctrlKey)) {
|
||||
return;
|
||||
@@ -359,6 +359,4 @@ ready(function(model) {
|
||||
}
|
||||
return false;
|
||||
};
|
||||
document.execCommand('useCSS', false, true);
|
||||
return document.execCommand('styleWithCSS', false, false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user