ndr_hd_button: Added style needed for shine effect.
This commit is contained in:
parent
8c4a521984
commit
548927d609
|
@ -27,6 +27,8 @@ function add_button(parent, url)
|
|||
const button = document.createElement("a");
|
||||
button.setAttribute("class", "button download");
|
||||
button.setAttribute("href", url);
|
||||
// Needed for shine effect
|
||||
button.setAttribute("style", "position: relative;");
|
||||
|
||||
const spanshine = document.createElement("span");
|
||||
spanshine.setAttribute("class", "buttonshine");
|
||||
|
|
Loading…
Reference in New Issue
Block a user