mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Address review comments.
This commit is contained in:
1 parent
8ebe1c2a19
commit
33a9a4757c
4 files changed
+36
-40
No files matched your search
@@ -788,11 +788,7 @@ define(function (require, exports, module) {
|
||||
$(DocumentManager)
|
||||
.on("currentDocumentLanguageChanged", function (e) {
|
||||
var activeEditor = EditorManager.getActiveEditor();
|
||||
// if we're not in an inline editor, trigger reinstalling of the editor listeners
|
||||
// on the same editor, otherwise do nothing
|
||||
if (DocumentManager.getCurrentDocument() === activeEditor.document) {
|
||||
handleActiveEditorChange(e, activeEditor, activeEditor);
|
||||
}
|
||||
handleActiveEditorChange(e, activeEditor, activeEditor);
|
||||
});
|
||||
|
||||
$(ProjectManager).on("beforeProjectClose", function () {
|
||||
|
||||
Reference in new issue
Block a user