]> git.mxchange.org Git - friendica.git/commitdiff
remove dollar sign
authorFabrixxm <fabrix.xm@gmail.com>
Wed, 17 Sep 2014 06:57:53 +0000 (08:57 +0200)
committerFabrixxm <fabrix.xm@gmail.com>
Wed, 17 Sep 2014 06:57:53 +0000 (08:57 +0200)
js/main.js

index 87b95d62ff81e60c9fd0168b2242dde3597fb05c..43d37a99bfcd19b78340bb4019bacad56c63e552 100644 (file)
                }
                $('a[rel^=#]').click(function(e){
                        e.preventDefault();
-                       var $parent = $(this).parent();
-                       var isSelected = (last_popup_button && $parent.attr('id') == last_popup_button.attr('id'));
+                       var parent = $(this).parent();
+                       var isSelected = (last_popup_button && parent.attr('id') == last_popup_button.attr('id'));
                        close_last_popup_menu();
                        if(isSelected) return false;
                        menu = $( $(this).attr('rel') );
                        e.preventDefault();
                        e.stopPropagation();
                        if (menu.attr('popup')=="false") return false;
-                       $parent.toggleClass("selected");
+                       parent.toggleClass("selected");
                        menu.toggle();
                        if (menu.css("display") == "none") {
                                last_popup_menu = null;
                                last_popup_button = null;
                        } else {
                                last_popup_menu = menu;
-                               last_popup_button = $parent;
+                               last_popup_button = parent;
                        }
                        return false;
                });