Bug 805808 - Initialize _activeType to 0 instead of undefined. r=margaret

This commit is contained in:
Kartikaya Gupta 2012-10-27 14:08:36 -04:00
parent 3c33a0b7f2
commit 24824c461c

View File

@ -1596,7 +1596,7 @@ var SelectionHandler = {
// Keeps track of data about the dimensions of the selection. Coordinates
// stored here are relative to the _view window.
cache: null,
_activeType: this.TYPE_NONE,
_activeType: 0, // TYPE_NONE
// The window that holds the selection (can be a sub-frame)
get _view() {