We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 091a4c1 commit f21462aCopy full SHA for f21462a
triggers/triggers.gs
@@ -32,9 +32,9 @@ function onEdit(e) {
32
function onSelectionChange(e) {
33
// Set background to red if a single empty cell is selected.
34
var range = e.range;
35
- if(range.getNumRows() == 1
36
- && range.getNumColumns() == 1
37
- && range.getCell(1, 1).getValue() == "") {
+ if(range.getNumRows() === 1
+ && range.getNumColumns() === 1
+ && range.getCell(1, 1).getValue() === "") {
38
range.setBackground("red");
39
}
40
0 commit comments