Browse Source

Fix equality operator

Steven Silvester 9 years ago
parent
commit
bbc549c8f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/notebook/plugin.ts

+ 1 - 1
src/notebook/plugin.ts

@@ -247,7 +247,7 @@ class NotebookContainer extends Panel {
   }
 
   private _onModelChanged(model: INotebookModel, args: IChangedArgs<INotebookModel>): void {
-    if (args.name == 'dirty') {
+    if (args.name === 'dirty') {
       if (args.newValue) {
         this.addClass(DIRTY_CLASS);
       } else {