AngularJS: Fehler: die Veranstaltung ist nicht definiert (nur Firefox)

Obwohl ich die Definition der Ereignis-und es funktioniert in Chrome funktioniert es nicht in Firefox?

app.controller('lightbox_close_controller', ['$scope', '$rootScope', function($scope, $rootScope) {

        $scope.close_rating_lightbox = function(event) {

            if (!$(".lightbox").hasClass("mobile_ratebox")) {
                event.stopPropagation();
                $("#image_in_lightbox_inside").empty();
            }
        }
    }

]);
Es sollte $event und übergeben Sie das gleiche in Ihrem html-als auch
zeigen Sie das zugehörige html

InformationsquelleAutor yodalr | 2015-06-11

Schreibe einen Kommentar