Ok, so I'm not really sure where to begin here.
In my controller I have a function like this:
$scope.newEle = function(e){
if(! angular.element(e.srcElement).hasClass('existing')){
var width = (window.innerWidth-700)/2;
if($scope.items[0]){
$scope.e = jQuery.extend({}, $scope.items[0]);
}else{
$scope.e = {};
}
}
};
This function is on a giant div. The div has items located in different spots within.
When you double click an item within the div (or empty space within the div itself), if it has the class 'existing' it shouldn't do anything, but if the item doesn't have the class - the function should continue.
This works in chrome, but not firefox.
The working example is http://engine404prod.herokuapp.com
Any ideas?