Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Commit

Permalink
Change JS to catch all notfound errors, not driver specific
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorHinesley committed Apr 15, 2014
1 parent 7a0d0ca commit cc379e3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/assets/javascripts/abracadabra.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ $(function() {

try {
container.remove();
} catch (error) {
if(error.name != "NotFoundError") {
throw error;
}
}
} catch (error) {}
}

function tabToNextAbracadabra(element, selector) {
Expand Down

0 comments on commit cc379e3

Please sign in to comment.