File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 108
108
}
109
109
}
110
110
</ style >
111
- < script src ="//code.jquery.com/jquery-1.12.0.min.js "> </ script >
111
+ < script src ="https://code.jquery.com/jquery-1.12.0.min.js "
112
+ integrity ="sha256-Xxq2X+KtazgaGuA2cWR1v3jJsuMJUozyIXDB3e793L8= "
113
+ crossorigin ="anonymous "> </ script >
112
114
</ head >
113
115
< body >
114
116
< nav class ="menu-container ">
@@ -172,7 +174,7 @@ <h2>Staff3</h2>
172
174
// Parse the URL parameter
173
175
function getParameterByName ( name , url ) {
174
176
if ( ! url ) url = window . location . href ;
175
- name = name . replace ( / [ \[ \] ] / g, "\\$&" ) ;
177
+ name = name . replace ( / [ \\ [ \] ] / g, "\\$&" ) ;
176
178
var regex = new RegExp ( "[?&]" + name + "(=([^&#]*)|&|#|$)" ) ,
177
179
results = regex . exec ( url ) ;
178
180
if ( ! results ) return null ;
You can’t perform that action at this time.
0 commit comments