Commit f928905
authored
Normalize is-tiled-image attribute string to boolean. (#325)
HTML attributes are always strings, so "false" is
always being treated as "truthy." This causes the web
component to always fetch info.json in tiled image mode.
Instead, this change explicitly compares against true/"true"
to correctly handle all attribute values.1 parent 0da6c9d commit f928905
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
0 commit comments