• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    [Solved]jQuery collapse.bs.show method not working (Version:60.0.3255.70)

    Opera for Windows
    3
    16
    1998
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • burnout426
      burnout426 Volunteer last edited by

      Set up a minimal testcase and we can check.

      Reply Quote 0
        1 Reply Last reply
      • A Former User
        A Former User last edited by

        Very simple.
        Go to http://windows.power2all.com:8000/
        Click on Category & Search, and when you drop-down on the right a category name, and close the Category & Search, that one should automatically close as well.
        It doesn't, but if you check on for example Chrome or Firefox, this behavior works fine.

        URL is active for now, as I am still developing.

        Reply Quote 0
          burnout426 1 Reply Last reply
        • burnout426
          burnout426 Volunteer @Guest last edited by burnout426

          @Power2All2 Thanks for the testcase. In both Chrome and Opera (60 and 61 on Windows 10 Pro), I click on "Category & Search", click on "Pictures" and then click on "Category & Search" again and they both close just fine.

          Reply Quote 0
            A Former User 1 Reply Last reply
          • A Former User
            A Former User @burnout426 last edited by

            @burnout426

            That is interesting, as I tested it both on my work PC with Opera 60 and on my home PC, also both Win 10 Pro.
            I wonder then what the difference is, but it feels like something is wrong though.
            Also, I noticed the javascript is being handled differently on Opera, then on Chrome (Chrome my background changer doesn't echo any zero'd arrays, where as Opera does, see the console log).

            I added a screentogif how it should not work.

            alt text

            Reply Quote 0
              burnout426 1 Reply Last reply
            • burnout426
              burnout426 Volunteer @Guest last edited by burnout426

              @Power2All said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

              I added a screentogif how it should not work.

              That's how it works in Chrome, Firefox and Opera for me. Can you post a pic of how it should work? Maybe I'm just not getting what you're saying.

              Reply Quote 0
                1 Reply Last reply
              • burnout426
                burnout426 Volunteer last edited by

                I think I see what you're saying now. Sorry. Hold on.

                Reply Quote 0
                  A Former User 1 Reply Last reply
                • A Former User
                  A Former User @burnout426 last edited by A Former User

                  @burnout426 said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

                  I think I see what you're saying now. Sorry. Hold on.

                  alt text

                  Reply Quote 0
                    1 Reply Last reply
                  • burnout426
                    burnout426 Volunteer last edited by

                    Okay, here's what I see. In Firefox and Opera, closing the parent "Category & Search" menu also closes the submenu. As in, when you open up the Category & Search menu again, the submenu is no longer open. This is the behavior you want.

                    However, in Chrome and Vivaldi, the submenu does not close. As in, when I open up the "Category & Search menu again, the submenu is still open from the last time.

                    Reply Quote 0
                      A Former User 1 Reply Last reply
                    • A Former User
                      A Former User @burnout426 last edited by A Former User

                      @burnout426 said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

                      Okay, here's what I see. In Firefox and Opera, closing the parent "Category & Search" menu also closes the submenu. As in, when you open up the Category & Search menu again, the submenu is no longer open. This is the behavior you want.

                      However, in Chrome and Vivaldi, the submenu does not close. As in, when I open up the "Category & Search menu again, the submenu is still open from the last time.

                      This is in Chrome 73, also checked in Chrome 74 after updating.
                      So I wonder how it is not working on your Chrome, when it is working on my Chrome.
                      MS Edge it works the same as all others as well, except Opera is showing a wrong behavior.

                      alt text

                      Reply Quote 0
                        burnout426 1 Reply Last reply
                      • burnout426
                        burnout426 Volunteer @Guest last edited by burnout426

                        @Power2All said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

                        So I wonder how it is not working on your Chrome, when it is working on my Chrome.

                        ublock Origin causes the problem in Chrome. I had it disabled for the page, but had to disable the extension all the way to make it work in Chrome.

                        Edit: Same reason why Vivaldi wasn't working.

                        Reply Quote 0
                          A Former User 1 Reply Last reply
                        • burnout426
                          burnout426 Volunteer last edited by

                          So, sorry for the mixups above. Everything is working as expected in Firefox, Chrome, Vivaldi and Opera for me. Do you have any extensions in your Opera that might be interfering?

                          Reply Quote 0
                            1 Reply Last reply
                          • A Former User
                            A Former User @burnout426 last edited by

                            @burnout426 said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

                            @Power2All said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

                            So I wonder how it is not working on your Chrome, when it is working on my Chrome.

                            ublock Origin causes the problem in Chrome. I had it disabled for the page, but had to disable the extension all the way to make it work in Chrome.

                            Edit: Same reason why Vivaldi wasn't working.

                            Awkward, you're right.
                            Even when uBlock is "disabled" it still is affecting the website.
                            I need to completely disable the add-on to make the function work.
                            I'll send a bug report to the uBlock guys, Thanks !

                            Reply Quote 1
                              burnout426 1 Reply Last reply
                            • burnout426
                              burnout426 Volunteer @Guest last edited by

                              @Power2All said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

                              I'll send a bug report to the uBlock guys,

                              Let us know how it goes, please. (Mod, please keeps this thread open)

                              Reply Quote 0
                                A Former User 1 Reply Last reply
                              • A Former User
                                A Former User @burnout426 last edited by

                                @burnout426 said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

                                @Power2All said in jQuery collapse.bs.show method not working (Version:60.0.3255.70):

                                I'll send a bug report to the uBlock guys,

                                Let us know how it goes, please. (Mod, please keeps this thread open)

                                Issue has been submitted here:

                                https://github.com/uBlockOrigin/uBlock-issues/issues/563

                                Reply Quote 1
                                  1 Reply Last reply
                                • A Former User
                                  A Former User last edited by A Former User

                                  Issue can be closed.
                                  It was uBlock and adBlock after all.
                                  Used a other way to determine if the page is loaded, cause the former one I used seem to be blocked by them.

                                  For future reference, this is the correct way to see if a webpage is loaded:

                                  $(document).ready(function() {
                                      -- code here --
                                  });
                                  

                                  The one I used (window.onload()) is being blocked by the extensions.

                                  Reply Quote 1
                                    1 Reply Last reply
                                  • First post
                                    Last post

                                  Computer browsers

                                  • Opera for Windows
                                  • Opera for Mac
                                  • Opera for Linux
                                  • Opera beta version
                                  • Opera USB

                                  Mobile browsers

                                  • Opera for Android
                                  • Opera Mini
                                  • Opera Touch
                                  • Opera for basic phones

                                  • Add-ons
                                  • Opera account
                                  • Wallpapers
                                  • Opera Ads

                                  • Help & support
                                  • Opera blogs
                                  • Opera forums
                                  • Dev.Opera

                                  • Security
                                  • Privacy
                                  • Cookies Policy
                                  • EULA
                                  • Terms of Service

                                  • About Opera
                                  • Press info
                                  • Jobs
                                  • Investors
                                  • Become a partner
                                  • Contact us

                                  Follow Opera

                                  • Opera - Facebook
                                  • Opera - Twitter
                                  • Opera - YouTube
                                  • Opera - LinkedIn
                                  • Opera - Instagram

                                  © Opera Software 1995-