Commit 9744f6dd authored by Ahoy's avatar Ahoy

data-ahoy style

parent 43d767ea
Pipeline #12910438 passed with stages
in 1 minute 25 seconds
......@@ -91,7 +91,10 @@ function yo(sel) {
var data_ahoy = document.querySelectorAll('[data-ahoy]');
for (var da in data_ahoy) {
if (data_ahoy.hasOwnProperty(da) && data_ahoy[da]) {
data_ahoy[da].removeAttribute('style');
var yohoho_da = document.querySelector('#' + 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