Firebug 1.6 doesn't show me JS errors

I work in local and I just updated firebug to the new version. Before updating any error I made using js, firebug showed me which line the code wasn’t working on (so that I can understand where I made the error).

Now my site is crashing, but I am not getting any message that JS is not working with firebug. Something has changed? Script is included.

this is the code

$("#cv").hover(
    // when the mouse enters the box do...
    function(){
        $("#hover-cv").css("z-index":"6");
        aniCircle(1, $(this), "#hover-cv", {scale:"1", "opacity":"0"}, {scale:"1.3", "opacity":"1"});
    },
    // when the mouse leaves the box do...
    function() {
        $("#hover-cv").css("z-index":"4");
        aniCircle(0, $(this), "#hover-cv", {scale:"1", "opacity":"0"});
    }
);

what creates the error is the scripts "$ (" # hover-cv "). css (" z-index ":" 6 "); and" $ ("# hover-cv"). css ("z-index": "4"); "

I don’t understand why Firebug is not warning me that something is wrong. More than a solution, I'm worried that firebug is not warning me about js errors.

+3
1

.css(property, value) :

$("#hover-cv").css("z-index","6");

( {}) .css(props):

$("#hover-cv").css({"z-index":"6"});
                   ^  missing    ^

FireBug 1.6, , .

0

Source: https://habr.com/ru/post/1778107/


All Articles