Skip to content

Commit

Permalink
Update .jshintrc, fix jshint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vodkabears committed Nov 2, 2014
1 parent 9e99bb6 commit 67cd5de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
"quotmark": "double",
"smarttabs": true,
"trailing": true,
"unused": true,
"node": true
"unused": true
}
2 changes: 1 addition & 1 deletion src/jquery.remodal.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
// Catch syntax error if your hash is bad
try {
$elem = $("[data-" + pluginName + "-id=" + id.replace(new RegExp("/", "g"), "\\/") + "]");
} catch (e) {}
} catch (err) {}

if ($elem && $elem.length) {
var instance = $[pluginName].lookup[$elem.data(pluginName)];
Expand Down

0 comments on commit 67cd5de

Please sign in to comment.