• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wxsms / uiv / 1030 / 1
89%
master: 95%

Build:
Build:
LAST BUILD BRANCH: 1.x
DEFAULT BRANCH: master
Ran 12 Nov 2019 06:29AM UTC
Files 50
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Nov 2019 06:23AM UTC coverage: 95.076%. Remained the same
1030.1

push

travis-ci

wxsms
Model Backdrop was "click", now "mousedown" (#304)

* Model Backdrop was "click", now "mousedown"

As mentioned in #285 when someone starts a click event inside the modal content area, and then releases it outside, in the backdrop, the modal hides. This is a frustrating issue when selecting text in the modal, as I often do. This only happens in chrome and is also an issue in bootstrap jquery itself. 

This is the simplest possible fix - replacing @click.self with @mousedown.self. This avoids the weird chrome behaviour.

* Changed MessageBox to use mousedown

'should be able to set alert backdrop to true' was sending click event, which unfortunately excludes mousedown. Changed it to send the full event sequence (mousedown,mouseup, click) for maximum generality.

* Modal.spec.js - Mousedown changes.

Changed backdrop click tests to send the full event sequence (mousedown, mouseup, click) rather than just click.

959 of 1074 branches covered (89.29%)

1564 of 1645 relevant lines covered (95.08%)

974.98 hits per line

Source Files on job 1030.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 925
  • Travis Job 1030.1
  • 1457bf37 on github
  • Prev Job for on dev (#1026.1)
  • Next Job for on dev (#1031.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc