Skip to content

armgit / flix

Public Imported from GitHub
0

Making an ESP32-based quadcopter from scratch

231 B
Raw Blame
// Enable zoom on images larger than 300px
document.querySelectorAll('.content img').forEach(function (img) {
	var width = img.getAttribute('width');
	if (!width || width >= 300) {
		img.setAttribute('data-action', 'zoom');
	}
});