Forum:Sharing menu code update

Hi, I need to update two codes that customize the sharing menu, since they recently stop working correctly although they weren't changed. The first one add a Google plus button in the sharing menu. It's working, but now the button is displayed also when the menu is closed, as you can see on any page on this wiki (top left).

The second one, should leave the menu "opened" as default, but it's not working.