fix: fix possible bug on event handler. (#36561)
fix: fix possible bug on event handler. (#36561)

some browsers validate the empty object as `true`, so is safer to use an explicit check
tjkohli/bootstrap,inway/bootstrap,twbs/bootstrap,m5o/bootstrap,coliff/bootstrap,m5o/bootstrap,tjkohli/bootstrap,coliff/bootstrap,inway/bootstrap,twbs/bootstrap,inway/bootstrap