Skip to content

Commit

Permalink
fix(click-block): click block is now showing on all screns. It wasn't…
Browse files Browse the repository at this point in the history
… previously on Android and des (#6846)

click block is now showing on all screns.  It wasn't previously on Android and desktop
  • Loading branch information
danbucholtz authored Jun 10, 2016
1 parent ff1daa6 commit 761a1f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function setupDom(window: Window, document: Document, config: Config, platform:
bodyEle.classList.add('enable-hover');
}

if (config.get('clickBlock')) {
if ( config.get('clickBlock') !== false ) {

This comment has been minimized.

Copy link
@adamdbradley

adamdbradley Jun 10, 2016

Contributor

Should to use config.getBoolean('clickBlock') here.

clickBlock.enable();
}

Expand Down
2 changes: 0 additions & 2 deletions src/platform/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ Platform.register({
],
settings: {
autoFocusAssist: 'delay',
clickBlock: true,
hoverCSS: false,
inputBlurring: isIOSDevice,
inputCloning: isIOSDevice,
Expand Down Expand Up @@ -150,7 +149,6 @@ Platform.register({
settings: {
mode: 'wp',
autoFocusAssist: 'immediate',
clickBlock: true,
hoverCSS: false
},
isMatch(p: Platform): boolean {
Expand Down

0 comments on commit 761a1f6

Please sign in to comment.