resolves https://github.com/Shared-Reality-Lab/IMAGE-browser/issues/360. This was a common issue for all the webpages where HTML form contains a graphic. By default, when we add buttons for every graphic, they have a default behavior of submit. Hence, pressing Enter triggers IMAGE popup. Fix for this includes overriding type to "button" for the buttons added by the extension.
resolves https://github.com/Shared-Reality-Lab/IMAGE-browser/issues/360. This was a common issue for all the webpages where HTML form contains a graphic. By default, when we add buttons for every graphic, they have a default behavior of submit. Hence, pressing Enter triggers IMAGE popup. Fix for this includes overriding type to "button" for the buttons added by the extension.