Skip to content

Instantly share code, notes, and snippets.

@Stephanevg
Created July 3, 2019 15:27
Show Gist options
  • Save Stephanevg/7090e8c9bfbf9e0c2f48a3be955a5a89 to your computer and use it in GitHub Desktop.
Save Stephanevg/7090e8c9bfbf9e0c2f48a3be955a5a89 to your computer and use it in GitHub Desktop.
reproduction of Javascript bug
<html>
<head>
<!--
Uncomenting this section, and commenting the links below, actually works...
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
-->
<Link rel='stylesheet' type=text/css href='C:/Program Files/WindowsPowerShell/Modules/PSHTML/0.7.11/Assets/BootStrap/bootstrap.min.css'>
<Script src='C:/Program Files/WindowsPowerShell/Modules/PSHTML/0.7.11/Assets/Jquery/jquery-3.3.1.slim.min.js'></Script>
<Script src='C:/Program Files/WindowsPowerShell/Modules/PSHTML/0.7.11/Assets/BootStrap/bootstrap.min.js'></Script>
</head>
<Body>
<div Class="Jumbotron bg-dark text-white">Main header</div>
<div Class="container">
<nav>
<div Id="nav-tab" Class="nav nav-tabs" role="tablist"><a Id="nav-home-tab" Target="_self" href="#nav-home"
Class="nav-item nav-link active" aria-selected="true" aria-controls="nav-home" data-toggle="tab"
role="tag">Home</a><a Id="nav-failed-tab" Target="_self" href="#nav-failed"
Class="nav-item nav-link" aria-selected="true" data-toggle="tab" role="tag">Failed updates</a><a
Id="nav-hisotry-tab" Target="_self" href="#nav-history" Class="nav-item nav-link"
aria-selected="true" data-toggle="tab" role="tag">Hisotrical updates</a></div>
</nav>
<div Id="nav-tabcontent" Class="tab-content">
<div Id="nav-home" Class="tab-pane fade show active" role="tabpanel" aria-labelledby="nav-home-tab">This is
home page</div>
<div Id="nav-failed" Class="tab-pane fade" role="tabpanel" aria-labelledby="nav-failed-tab">This is failed
updates</div>
<div Id="nav-history" Class="tab-pane fade" role="tabpanel" aria-labelledby="nav-history-tab">This is
historical updates</div>
</div>
</div>
</Body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment