-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFAQ.js
More file actions
26 lines (21 loc) · 1001 Bytes
/
Copy pathFAQ.js
File metadata and controls
26 lines (21 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// function add_text(the_button){
// var the_question = the_button.parentNode;
// console.log("yooooo",the_question);
// var extra_stuff = the_question.getElementsByClassName("extra_text")[0];
// extra_stuff.style.display = 'block';
// the_button.style.display = 'none';
// console.log("adededed texttt",the_button);
// var remove_button = the_question.getElementsByClassName("remove_button")[0];
// remove_button.style.display = 'block';
// }
// function remove_text(the_button){
// var the_question = the_button.parentNode;
// console.log("yooooo",the_question);
// var extra_stuff = the_question.getElementsByClassName("extra_text")[0];
// extra_stuff.style.display = 'none';
// the_button.style.display = 'none';
// console.log("adededed texttt",the_button);
// var remove_button = the_question.getElementsByClassName("add_button")[0];
// remove_button.style.display = 'block';
// }
// // getElementsByClassName("top_box")[0]