Commit 18811f8e authored by Ahoy's avatar Ahoy

data-ahoy style

parent 9744f6dd
Pipeline #12910467 passed with stages
in 43 seconds
......@@ -91,7 +91,7 @@ function yo(sel) {
var data_ahoy = document.querySelectorAll('[data-ahoy]');
for (var da in data_ahoy) {
if (data_ahoy.hasOwnProperty(da) && data_ahoy[da]) {
var yohoho_da = document.querySelector('#' + data_ahoy);
var yohoho_da = document.querySelector('#' + data_ahoy[da].getAttribute('data-ahoy'));
if (yohoho_da) {
yohoho_da.removeAttribute('style');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment