Skip to content

Commit fff3d5d

Browse files
lackerFacebook Github Bot
authored andcommitted
fix Firefox bug
Summary: The motivation is that the getting started page was not working in some cases in Firefox. This line of code appears to be at best a no-op, at worst fails in Firefox, since "event" is undefined. Closes #8335 Differential Revision: D3473333 Pulled By: JoelMarcey fbshipit-source-id: 40581e83126675aa072c6ee25609cfb787015ce7
1 parent fdcb865 commit fff3d5d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/QuickStart-GettingStarted.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ function display(type, value) {
258258
var container = document.getElementsByTagName('block')[0].parentNode;
259259
container.className = 'display-' + type + '-' + value + ' ' +
260260
container.className.replace(RegExp('display-' + type + '-[a-z]+ ?'), '');
261-
event && event.preventDefault();
262261
}
263262

264263
// If we are coming to the page with a hash in it (i.e. from a search, for example), try to get

0 commit comments

Comments
 (0)