Fossil SCM
Added a missing 'return this'.
Commit
4ce90f01709019a381331df8887fa9fc6fd9473c9fe5329b5ef96cbe17170395
Parent
a3bfeb85213895e…
1 file changed
+1
+1
| --- src/fossil.pikchr.js | ||
| +++ src/fossil.pikchr.js | ||
| @@ -78,7 +78,8 @@ | ||
| 78 | 78 | if(!srcView || !srcView.classList.contains('pikchr-src')){ |
| 79 | 79 | /* Without this element, there's nothing for us to do here. */ |
| 80 | 80 | return this; |
| 81 | 81 | } |
| 82 | 82 | parent.addEventListener('click', f.parentClick, false); |
| 83 | + return this; | |
| 83 | 84 | }; |
| 84 | 85 | })(window.fossil); |
| 85 | 86 |
| --- src/fossil.pikchr.js | |
| +++ src/fossil.pikchr.js | |
| @@ -78,7 +78,8 @@ | |
| 78 | if(!srcView || !srcView.classList.contains('pikchr-src')){ |
| 79 | /* Without this element, there's nothing for us to do here. */ |
| 80 | return this; |
| 81 | } |
| 82 | parent.addEventListener('click', f.parentClick, false); |
| 83 | }; |
| 84 | })(window.fossil); |
| 85 |
| --- src/fossil.pikchr.js | |
| +++ src/fossil.pikchr.js | |
| @@ -78,7 +78,8 @@ | |
| 78 | if(!srcView || !srcView.classList.contains('pikchr-src')){ |
| 79 | /* Without this element, there's nothing for us to do here. */ |
| 80 | return this; |
| 81 | } |
| 82 | parent.addEventListener('click', f.parentClick, false); |
| 83 | return this; |
| 84 | }; |
| 85 | })(window.fossil); |
| 86 |