Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
51f03fc5
Commit
51f03fc5
authored
Jul 30, 2021
by
Prakhar Agarwal
🎯
Browse files
removed remaining fullscreen code
parent
b27ad529
Changes
1
Show whitespace changes
Inline
Side-by-side
emscripten/project/purr-data/utils/actions.js
View file @
51f03fc5
...
...
@@ -135,36 +135,6 @@ function load_menu_actions(){
}
});
// View entries
minit
(
"
view-fullscreen
"
,{
onclick
:
function
(){
if
(
!
document
.
fullscreenElement
&&
!
document
.
mozFullScreenElement
&&
!
document
.
webkitFullscreenElement
&&
!
document
.
msFullscreenElement
)
{
if
(
document
.
documentElement
.
requestFullscreen
)
{
document
.
documentElement
.
requestFullscreen
();
}
else
if
(
document
.
documentElement
.
msRequestFullscreen
)
{
document
.
documentElement
.
msRequestFullscreen
();
}
else
if
(
document
.
documentElement
.
mozRequestFullScreen
)
{
document
.
documentElement
.
mozRequestFullScreen
();
}
else
if
(
document
.
documentElement
.
webkitRequestFullscreen
)
{
document
.
documentElement
.
webkitRequestFullscreen
(
Element
.
ALLOW_KEYBOARD_INPUT
);
}
}
else
{
if
(
document
.
exitFullscreen
)
{
document
.
exitFullscreen
();
}
else
if
(
document
.
msExitFullscreen
)
{
document
.
msExitFullscreen
();
}
else
if
(
document
.
mozCancelFullScreen
)
{
document
.
mozCancelFullScreen
();
}
else
if
(
document
.
webkitExitFullscreen
)
{
document
.
webkitExitFullscreen
();
}
}
}});
// Media entries
minit
(
"
media-test
"
,{
onclick
:
function
(){
pdbundle
.
pdgui
.
web_pd_doc_open
(
"
doc/7.stuff/tools
"
,
"
testtone.pd
"
)}});
minit
(
"
media-loadmeter
"
,{
onclick
:
function
(){
pdbundle
.
pdgui
.
web_pd_doc_open
(
"
doc/7.stuff/tools
"
,
"
load-meter.pd
"
)}});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment