Skip to content

Commit 608429e

Browse files
author
Viktor Chernev
committed
fix bug in default theme HTML_PARACORD
1 parent c35d587 commit 608429e

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta name="description" content="Created by #Describe TestGadget v 8.0"><meta charset="utf-8"><title>World in lists - Describe Compiler v0.9</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="author" content=""><style>.listree-submenu-heading{cursor:pointer}ul.listree{list-style:none}ul.listree-submenu-items{list-style:none;border-left:1px dashed #000;white-space:nowrap;margin-right:4px;padding-left:20px}div.listree-submenu-heading.collapsed:before{content:"+";margin-right:4px}div.listree-submenu-heading.expanded:before{content:"-";margin-right:4px}.scrollable-menu{height:auto;max-width:800px;overflow-y:hidden}</style></head><body>{DATA}<script>!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).listree=t()}(this,(function(){"use strict";return function(){const e=document.getElementsByClassName("listree-submenu-heading");Array.from(e).forEach((function(e){e.classList.add("collapsed"),e.nextElementSibling.style.display="none",e.addEventListener("click",(function(t){t.preventDefault();const n=t.target.nextElementSibling;"none"==n.style.display?(e.classList.remove("collapsed"),e.classList.add("expanded"),n.style.display="block"):(e.classList.remove("expanded"),e.classList.add("collapsed"),n.style.display="none"),t.stopPropagation()}))}))}}));listree();</script></body></html>
1+
<!DOCTYPE html><html lang="en"><head><meta name="description" content="Created by #Describe TestGadget v 8.0"><meta charset="utf-8"><title>World in lists - Describe Compiler v0.9</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="author" content=""><style>.listree-submenu-heading{cursor:pointer}ul.listree{list-style:none}ul.listree-submenu-items{list-style:none;border-left:1px dashed #000;white-space:nowrap;margin-right:4px;padding-left:20px}div.listree-submenu-heading.collapsed:before{content:"+";margin-right:4px}div.listree-submenu-heading.expanded:before{content:"-";margin-right:4px}.scrollable-menu{height:auto;max-width:800px;overflow-y:hidden}</style></head><body>{DATA}<script>!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).listree=t()}(this,(function(){"use strict";return function(){const e=document.getElementsByClassName("listree-submenu-heading");Array.from(e).forEach((function(e){e.classList.add("collapsed"),e.nextElementSibling.style.display="none",e.addEventListener("click",(function(t){const n=t.target.nextElementSibling;"none"==n.style.display?(e.classList.remove("collapsed"),e.classList.add("expanded"),n.style.display="block"):(e.classList.remove("expanded"),e.classList.add("collapsed"),n.style.display="none"),t.stopPropagation()}))}))}}));listree();</script></body></html>

Documentation/v 9.1/bugUnclickableLinksInProductionHeadsDefaultTheme.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BUG: In HTML_PARACORD - that is the default template set, due to the JS, links in production header does not open when clicked, instead user need to right click and select open in new tab.
2+
Remove expression "t.preventDefault();" from the javascript code in Page.html

0 commit comments

Comments
 (0)