mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-18 04:05:58 +00:00
Add images gallery link handler to main.js
This commit is contained in:
4
main.js
4
main.js
@@ -116,6 +116,10 @@ function displayResults(data) {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
window.open(`/waterfall.html?id=${data.id}`, '_blank');
|
window.open(`/waterfall.html?id=${data.id}`, '_blank');
|
||||||
};
|
};
|
||||||
|
document.getElementById('view-images').onclick = (e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
window.open(`/images.html?id=${data.id}`, '_blank');
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load content breakdown
|
// Load content breakdown
|
||||||
|
|||||||
Reference in New Issue
Block a user