mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-10-12 16:31:28 +11:00
Add images gallery link handler to main.js
This commit is contained in:
1 parent
f01a829ca4
commit
c6a9d914df
1 file changed
+4
@@ -116,6 +116,10 @@ function displayResults(data) {
|
||||
e.preventDefault();
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user