gmarche-rs/static/script1.js

9 lines
213 B
JavaScript

function ad_detail(e, id) {
var el = document.getElementById("ad-detail-"+id);
if(el.className == "ad-detail")
el.className = "ad-detail ad-detail-no"
else
el.className = "ad-detail"
e.preventDefault();
}