]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget.php
Stop scrollToItem() animate twice.
[friendica.git] / src / Content / Widget.php
index f1f8f25fa34921d018123fb88e05861a2ad60226..8f88a0d836f30fac17812fbca7e58d38493c8de4 100644 (file)
@@ -302,7 +302,7 @@ class Widget
         */
        public static function categories($baseurl, $selected = '')
        {
-               $a = \get_app();
+               $a = DI::app();
 
                $uid = intval($a->profile['profile_uid']);
 
@@ -420,7 +420,7 @@ class Widget
         */
        public static function tagCloud($limit = 50)
        {
-               $a = \get_app();
+               $a = DI::app();
 
                $uid = intval($a->profile['profile_uid']);