html href fixes, custom input fixes

This commit is contained in:
codecalm
2019-09-26 00:13:52 +02:00
parent 6ca4337ecd
commit a85a05eb4d
52 changed files with 228 additions and 233 deletions
+7 -7
View File
@@ -1,10 +1,10 @@
<div class="debug">
<a href="#" data-debug="dark">Dark mode</a>
<a href="#" data-debug="rtl">RTL mode</a>
<a href="#" data-debug="code">Show cards code</a>
<a href="#" data-debug="folded">Folded sidebar</a>
<a href="#" data-debug="fullscreen">Fullscreen</a>
<a href="#" data-debug="header-sticky">Sticky header</a>
<a href="javascript:void(0)" data-debug="dark">Dark mode</a>
<a href="javascript:void(0)" data-debug="rtl">RTL mode</a>
<a href="javascript:void(0)" data-debug="code">Show cards code</a>
<a href="javascript:void(0)" data-debug="folded">Folded sidebar</a>
<a href="javascript:void(0)" data-debug="fullscreen">Fullscreen</a>
<a href="javascript:void(0)" data-debug="header-sticky">Sticky header</a>
<a href="{{ site.base }}/pages.html">All pages</a>
<div class="debug-info">Jekyll {{ jekyll.version }}</div>
@@ -137,7 +137,7 @@
var $card = $(this),
htmlCode = $card[0].innerHTML.replace(/(^[ \t]*\n)/gm, '');
var $button = $('<div class="card-debug"><a href="#" class="text-muted-light" data-code>code</a></div>'),
var $button = $('<div class="card-debug"><a href="javascript:void(0)" class="text-muted-light" data-code>code</a></div>'),
$codeLink = $button.find('[data-code]');
$codeLink