Browse Source

remove superfluous vars

A. Darian 8 years ago
parent
commit
8905195564
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/notebook/console/widget.ts

+ 0 - 3
src/notebook/console/widget.ts

@@ -255,9 +255,6 @@ class ConsoleWidget extends Widget {
       }
 
       let {top, left} = model.change.coords;
-      let lines = model.change.newValue.split('\n');
-      let lastLine = lines[lines.length - 1];
-      let lastChar = lastLine[lastLine.length - 1];
       let text = model.text;
 
       // Offset the height of the tooltip by the height of cursor characters.