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
7231f37f
Commit
7231f37f
authored
May 02, 2015
by
user
Browse files
check for null with xlet highlighting
parent
2d7fa2d7
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
7231f37f
...
...
@@ -1979,7 +1979,10 @@ function gui_configure_io(cid, tag, is_iemgui, is_signal, width) {
function
gui_highlight_io
(
cid
,
tag
)
{
var
xlet
=
get_item
(
cid
,
tag
);
// must check for null (see gui_configure_io)
if
(
xlet
!==
null
)
{
xlet
.
classList
.
add
(
'
xlet_selected
'
);
}
}
function
gui_message_drawborder
(
cid
,
tag
,
width
,
height
)
{
...
...
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