@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | protected $shortname; |
| 27 | 27 | |
| 28 | 28 | protected function construct () { |
| 29 | - $this->shortname = Config::instance()->module('Disqus')->shortname; |
|
| 29 | + $this->shortname = Config::instance()->module('Disqus')->shortname; |
|
| 30 | 30 | } |
| 31 | 31 | /** |
| 32 | 32 | * Count of comments for specified item |
@@ -51,11 +51,11 @@ discard block |
||
| 51 | 51 | ]); |
| 52 | 52 | } |
| 53 | 53 | protected function count_js () { |
| 54 | - static $added = false; |
|
| 54 | + static $added = false; |
|
| 55 | 55 | if ($added) { |
| 56 | 56 | return; |
| 57 | 57 | } |
| 58 | - $added = true; |
|
| 58 | + $added = true; |
|
| 59 | 59 | Page::instance()->js( |
| 60 | 60 | "var disqus_shortname = '$this->shortname'; |
| 61 | 61 | if (!window.disqus_count_items) { window.disqus_count_items = []; }", |