summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/shared/js/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/shared/js/util.js')
-rw-r--r--chrome/browser/resources/shared/js/util.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/resources/shared/js/util.js b/chrome/browser/resources/shared/js/util.js
index a74badd..63b3a8c 100644
--- a/chrome/browser/resources/shared/js/util.js
+++ b/chrome/browser/resources/shared/js/util.js
@@ -129,8 +129,7 @@ function handleLinkClickOrMouseUp(e) {
((e.button == 0 && e.type == 'click') ||
(e.button == 1 && e.type == 'mouseup'))) {
chrome.send('navigateToUrl',
- [el.href, String(e.button), String(e.ctrlKey), String(e.shiftKey),
- String(e.altKey)]);
+ [el.href, e.button, e.altKey, e.ctrlKey, e.metaKey, e.shiftKey]);
e.preventDefault();
}
}