diff options
| author | 2016-04-29 18:24:46 +0200 | |
|---|---|---|
| committer | 2016-04-29 18:24:46 +0200 | |
| commit | 6466fc87ece4c1fc6ee8ea5ea4d751d7ae266a2e (patch) | |
| tree | 5a415054febde0a770bfd884f77688bb9bebcf64 /app/views/entry | |
| parent | 805ec6392c660641926f6a637b3c123dae528bc4 (diff) | |
Load styles for two JSON cases
Diffstat (limited to 'app/views/entry')
| -rwxr-xr-x | app/views/entry/bookmark.phtml | 1 | ||||
| -rwxr-xr-x | app/views/entry/read.phtml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/entry/bookmark.phtml b/app/views/entry/bookmark.phtml index c346d2c4c..6b5a4ed03 100755 --- a/app/views/entry/bookmark.phtml +++ b/app/views/entry/bookmark.phtml @@ -13,4 +13,5 @@ $url = Minz_Url::display(array( 'params' => Minz_Request::params(), )); +FreshRSS::loadStylesAndScripts(); echo json_encode(array('url' => str_ireplace('&', '&', $url), 'icon' => _i(Minz_Request::param('is_favorite') ? 'non-starred' : 'starred'))); diff --git a/app/views/entry/read.phtml b/app/views/entry/read.phtml index fabdec9e0..7d0e3de82 100755 --- a/app/views/entry/read.phtml +++ b/app/views/entry/read.phtml @@ -13,4 +13,5 @@ $url = Minz_Url::display(array( 'params' => Minz_Request::params(), )); +FreshRSS::loadStylesAndScripts(); echo json_encode(array('url' => str_ireplace('&', '&', $url), 'icon' => _i(Minz_Request::param('is_read') ? 'unread' : 'read'))); |
