| @@ -693,9 +693,9 @@ | ||
| 693 | 693 | |
| 694 | 694 | if ($args["style_tag"]) |
| 695 | 695 | $output .= "<style type='text/css'>"; |
| 696 | 696 | |
| 697 | - $output .= $css; | |
| 697 | + $output .= apply_filters('mbsocial/displaycss/', $css); | |
| 698 | 698 | |
| 699 | 699 | if ($args["style_tag"]) |
| 700 | 700 | $output .= "</style>"; |
| 701 | 701 | |
| @@ -742,12 +742,9 @@ | ||
| 742 | 742 | |
| 743 | 743 | if ($args["js_tag"]) |
| 744 | 744 | { |
| 745 | 745 | $output .= "<script type='text/javascript'> "; |
| 746 | -// $output .= " if (typeof MBcollection" . $this->collection_id . " == 'undefined') { "; | |
| 747 | -// $output .= " function MBcollection" . $this->collection_id . "() { "; | |
| 748 | 746 | |
| 749 | - | |
| 750 | 747 | } |
| 751 | 748 | |
| 752 | 749 | foreach($js as $index => $code) |
| 753 | 750 | { |
| @@ -834,9 +831,9 @@ | ||
| 834 | 831 | if (! $is_preview) |
| 835 | 832 | { |
| 836 | 833 | if ( ($this->is_mobile && ! $network->forMobile() ) || $this->is_desktop && ! $network->forDesktop() ) |
| 837 | 834 | { |
| 838 | - continue; | |
| 835 | + continue; | |
| 839 | 836 | } |
| 840 | 837 | } |
| 841 | 838 | $w->tell('display/parse/network', $network); |
| 842 | 839 | |