app/assets/javascripts/pghero/application.js in pghero-2.7.0 vs app/assets/javascripts/pghero/application.js in pghero-2.7.1
- old
+ new
@@ -42,9 +42,16 @@
step: 1,
connect: true,
start: [min, max]
});
+ // remove outline for mouse only
+ $(".noUi-handle").mousedown(function() {
+ $(this).addClass("no-outline");
+ }).blur(function() {
+ $(this).removeClass("no-outline");
+ });
+
function updateText() {
var values = slider.noUiSlider.get();
setText("#range-start", values[0]);
setText("#range-end", values[1]);
}