mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Add a disclaimer for interviewees (thanks Trace Mayer)
This fix allows journalists to better understand the open-source nature of Bitcoin
This commit is contained in:
parent
1be5ae6738
commit
033fba2504
3 changed files with 53 additions and 16 deletions
14
js/main.js
14
js/main.js
|
@ -117,3 +117,17 @@ else p.style.height=nhe+'px';
|
|||
t.style.display='none';
|
||||
cancelEvent(e);
|
||||
}
|
||||
|
||||
|
||||
function disclaimershow(e){
|
||||
var p=t=getEventTarget(e);
|
||||
while(p.nodeType!=1||p.nodeName!='P')p=p.parentNode;
|
||||
p=p.nextSibling;
|
||||
while(p.nodeType!=1||p.nodeName!='P')p=p.nextSibling;
|
||||
p.style.height='auto';
|
||||
var nhe=getHeight(p);
|
||||
p.style.height='0px';
|
||||
p.style.height=nhe+'px';
|
||||
t.parentNode.removeChild(t);
|
||||
cancelEvent(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue