Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit a50c0d1

Browse files
author
Gabriel Schulhof
committed
Demos: View source: Grab HTML-only full-page demos as well.
1 parent f5dd72a commit a50c0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/_assets/js/view-source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ $.fn.viewSourceCode = function() {
156156
};
157157

158158
$( document ).on( "pagebeforecreate", "[data-role='page']", function() {
159-
$( this ).find( "[data-demo-html='true'], [data-demo-js], [data-demo-css], [data-demo-php]" ).viewSourceCode();
159+
$( this ).find( "[data-demo-html], [data-demo-js], [data-demo-css], [data-demo-php]" ).viewSourceCode();
160160
SyntaxHighlighter.defaults['toolbar'] = false;
161161
SyntaxHighlighter.defaults['auto-links'] = false;
162162
});

0 commit comments

Comments
 (0)