bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Clicking anywhere generates JS warnings in Firefox iff a dropdown menu is present

Open qdelettre opened this issue 13 years ago • 17 comments

I create another issue about this problem, as it is still not solved. See https://github.com/twitter/bootstrap/issues/5566

The JS warning is
Empty string passed to getElementById(). elem = document.getElementById( match[2] );

I use FF 19.0.2 with twitter bootstrap 2.3.0 or 2.3.1 and still clicking anywhere makes a warning in firebug.

Have i missed something ?

qdelettre avatar Mar 18 '13 10:03 qdelettre

Could you make an updated jsFiddle to demonstrate?

cvrebert avatar Mar 18 '13 19:03 cvrebert

As in #5566 with latests jquery and bootstrap, http://jsfiddle.net/pZT5W/5/ reproduce the error.

qdelettre avatar Mar 19 '13 08:03 qdelettre

I have exactly the same problem... BS 2.3.1 and jQuery 1.9.1

NetserveMalta avatar Mar 19 '13 19:03 NetserveMalta

issue is valid.

Merg1255 avatar Mar 21 '13 16:03 Merg1255

i have the same problem problem

BS v2.2.2 and jQuery 1.8.3

colapiombo avatar Mar 27 '13 14:03 colapiombo

Same issue. BS 2.3.0 JQuery 1.9.1

edragame avatar Apr 04 '13 15:04 edragame

Issue is legit. Firefox 20.0, FireBug 1.11.2, JQuery 1.9.1, BS 2.3.1

c0achmcguirk avatar Apr 08 '13 03:04 c0achmcguirk

Same issue.

ghost avatar Apr 08 '13 08:04 ghost

I am also experiencing the same issue. Firefox 19.0.2 on Mac OS X 10.8.3, jQuery 1.9.1

justindarc avatar Apr 10 '13 21:04 justindarc

I am facing the same problem on FF 20, jQuery 1.8.3 , Boostrap 2.3.0

shishirmk avatar Apr 10 '13 21:04 shishirmk

Thanks, I think we have quite sufficient confirmation now.

cvrebert avatar Apr 10 '13 21:04 cvrebert

Experiencing this problem. FF 20 on Ubuntu 13.04, jQuery 1.8.3, Bootstrap 2.3.1.

BenjaminRH avatar Apr 25 '13 16:04 BenjaminRH

Just sent a pull request to fix this bug. https://github.com/twitter/bootstrap/pull/7692

shishirmk avatar Apr 25 '13 22:04 shishirmk

Great. Hope this will get a fix soon by BS team.

MrUpsidown avatar Apr 28 '13 10:04 MrUpsidown

Just pushed a 2.3.2 patch that I believe addresses this.

mdo avatar May 17 '13 18:05 mdo

I am still experiencing this problem even using bootstrap 2.3.2

screen shot 2013-05-23 at 10 50 35

jason-slack avatar May 23 '13 09:05 jason-slack

@jason-slack: See #7692. It'll be fixed in v3; they aren't going to do anything about it in v2.

cvrebert avatar May 23 '13 18:05 cvrebert

A possible solution is not to use <a>nchors with href="#" property which is still valid. Then these warnings will stop to appear.

Explanation

albertmatyi avatar Jun 15 '13 09:06 albertmatyi