Modify bug that searching map will open new tab in firefox