Skip to content

Commit 7945c96

Browse files
committed
Demos: Use HTTPS for jQuery UI CSS
Avoid protocol-relative URLs; they used to be recommended in the past but the current good practice is to use HTTPS everywhere. Fixes jquery/jquery-ui#2183
1 parent e00ee0e commit 7945c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ grunt.registerTask( "build-demos", function() {
222222
// ../../ui/themes/* -> CDN
223223
source = source.replace(
224224
/<link rel="stylesheet" href="\.\.\/\.\.\/themes[^>]+>/,
225-
"<link rel=\"stylesheet\" href=\"//code.jquery.com/ui/" + pkg.version + "/themes/base/jquery-ui.css\">" );
225+
"<link rel=\"stylesheet\" href=\"https://code.jquery.com/ui/" + pkg.version + "/themes/base/jquery-ui.css\">" );
226226

227227
// ../demos.css -> /resources/demos/style.css
228228
source = source.replace(

0 commit comments

Comments
 (0)