mirror of
https://github.com/javl/image2cpp.git
synced 2026-09-11 09:03:04 +00:00
formatting for readability
This commit is contained in:
+1
-1
@@ -890,7 +890,7 @@ function imageToString(image) {
|
||||
// Get the custom arduino output variable name, if any
|
||||
function getIdentifier() {
|
||||
const vn = document.getElementById('identifier');
|
||||
return vn && vn.value.length ? vn.value : identifier;
|
||||
return (vn && vn.value.length) ? vn.value : identifier;
|
||||
}
|
||||
|
||||
// Output the image string to the textfield
|
||||
|
||||
Reference in New Issue
Block a user