Skip to content

Commit

Permalink
fix for empty params
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrik committed Jul 28, 2012
1 parent 3116a9b commit 294a1fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "pupergrep",
"version": "0.3.0",
"version": "0.3.1",
"description": "Real-time grep for your logs right in your favorite modern browser made with Twitter Bootstrap.",
"main": "index.js",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions public/index.html
Expand Up @@ -337,10 +337,10 @@ <h3>Settings</h3>
if (log) {
currentLog = log;
}
if (grepJoin != grepJoinType.data("join-type")) {
if (grepJoin && grepJoin != grepJoinType.data("join-type")) {
grepJoinType.click();
}
if (highlightJoin != highlightJoinType.data("join-type")) {
if (highlightJoin && highlightJoin != highlightJoinType.data("join-type")) {
highlightJoinType.click();
}
})();
Expand Down

0 comments on commit 294a1fb

Please sign in to comment.