Fossil SCM

Added a missing 'return this'.

stephan 2021-02-22 12:23 trunk
Commit 4ce90f01709019a381331df8887fa9fc6fd9473c9fe5329b5ef96cbe17170395
1 file changed +1
--- src/fossil.pikchr.js
+++ src/fossil.pikchr.js
@@ -78,7 +78,8 @@
7878
if(!srcView || !srcView.classList.contains('pikchr-src')){
7979
/* Without this element, there's nothing for us to do here. */
8080
return this;
8181
}
8282
parent.addEventListener('click', f.parentClick, false);
83
+ return this;
8384
};
8485
})(window.fossil);
8586
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button