Skip to content

Commit

Permalink
Do not show warnings @ overlay unless explicitly set (#881)
Browse files Browse the repository at this point in the history
This change tweaks the feature behavior (implemented @ #790),
so it matches the intended behavior (described @ #789).

This PR would supersede survivejs/webpack-book#262.
  • Loading branch information
dcarral authored and shellscape committed Jul 10, 2017
1 parent a7fdb06 commit e5b6202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ var onSocketMsg = {
"overlay": function(overlay) {
if(typeof document !== "undefined") {
if(typeof(overlay) === "boolean") {
useWarningOverlay = overlay;
useWarningOverlay = false;
useErrorOverlay = overlay;
} else if(overlay) {
useWarningOverlay = overlay.warnings;
Expand Down

0 comments on commit e5b6202

Please sign in to comment.