diff options
Diffstat (limited to 'recipes/disqus/webview.js')
-rw-r--r-- | recipes/disqus/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/disqus/webview.js b/recipes/disqus/webview.js index c1e315c..b5c1902 100644 --- a/recipes/disqus/webview.js +++ b/recipes/disqus/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | const getInnerInt = selector => { | 1 | const getInnerInt = selector => { |
2 | const element = document.querySelector(selector); | 2 | const element = document.querySelector(selector); |
3 | return element && parseInt(element.innerText); | 3 | return element && Ferdi.safeParseInt(element.innerText); |
4 | }; | 4 | }; |
5 | 5 | ||
6 | module.exports = Ferdi => { | 6 | module.exports = Ferdi => { |