Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
f3462531
Commit
f3462531
authored
Mar 04, 2016
by
Jonathan Wilkes
Browse files
use elem.value instead of DOM attribute getter for audio api change
parent
94531f30
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/nw/dialog_prefs.html
View file @
f3462531
...
...
@@ -401,8 +401,9 @@ function cancel() {
}
function
change_api
(
elem
)
{
pdgui
.
post
(
"
elem is
"
+
elem
);
var
id
=
elem
.
getAttribute
(
"
id
"
),
value
=
elem
.
getAttribute
(
"
value
"
);
value
=
elem
.
value
;
// need js object property, DOM Attribute won't work
if
(
id
===
"
audio_api
"
)
{
pdgui
.
pdsend
(
"
pd audio-setapi
"
,
value
);
}
else
{
...
...
Write
Preview
Supports
Markdown
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