Avatar

Correct answer by
Level 10

You can do this the following way:

var obj = this.viewState.toSource().split(",");

if (obj[1].replace("overViewMode:","") == 7) {

    //Your code here...

}

View solution in original post