Commit f0f46f74 authored by Prakhar Agarwal's avatar Prakhar Agarwal 🎯
Browse files

added default browser shortcut for fullscreen

parent f7240a6e
......@@ -169,8 +169,10 @@ function add_shortcuts(cid){
// Add key
shortcut += e.key.toUpperCase();
if(window.shortkeys[cid].hasOwnProperty(shortcut)){
e.preventDefault()
window.shortkeys[cid][shortcut].click();
if (shortcut!=="F11") {
e.preventDefault();
window.shortkeys[cid][shortcut].click();
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment