Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit e4ee3c54 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

model.js fix issue in tests with e.currentTarget

use `this` instead
parent 9593c965
Pipeline #125767 failed with stages
in 14 minutes and 45 seconds
......@@ -2241,7 +2241,7 @@ changeAlleleNotation: function(alleleNotation) {
var tagSelectorW = $(this.tagSelector).outerWidth()
var maxLeft = $(window).width() - tagSelectorW;
var left = e.currentTarget.offsetLeft + (e.currentTarget.offsetWidth/2) + (tagSelectorW/2);
var left = this.offsetLeft + (this.offsetWidth/2) + (tagSelectorW/2);
if (left>maxLeft) left=maxLeft;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment