Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for discrepancies in presenting results of Smart Blocking actions. Fix for GH-952. #39

Closed
wants to merge 14 commits into from
Lint errors
  • Loading branch information
Serge Zarembsky
Serge Zarembsky committed Apr 12, 2018
commit 62375eb2bfa1f77b6df8439572c2640f1b620607
@@ -45,7 +45,7 @@ class AdditionalFeaturesView extends Component {
* @param {Object} event The event created by the onChange property
*/
_handleAntiTrack = (event) => {
if(!IS_CLIQZ) {
if (!IS_CLIQZ) {
this.props.actions.updateAntiTrack(event.target.checked);
}
}
@@ -63,7 +63,7 @@ class AdditionalFeaturesView extends Component {
* @param {Object} event The event created by the onChange property
*/
_handleAdBlock = (event) => {
if(!IS_CLIQZ) {
if (!IS_CLIQZ) {
this.props.actions.updateAdBlock(event.target.checked);
}
}
@@ -40,7 +40,7 @@ const initialState = {
export default (state = initialState, action) => {
switch (action.type) {
case UPDATE_ANTITRACK: {
if(IS_CLIQZ) {
if (IS_CLIQZ) {
return state;
}
msg.sendMessage('updateAntiTrack', action.data);
@@ -55,7 +55,7 @@ export default (state = initialState, action) => {
});
}
case UPDATE_ADBLOCK: {
if(IS_CLIQZ) {
if (IS_CLIQZ) {
return state;
}
msg.sendMessage('updateAdBlock', action.data);
ProTip! Use n and p to navigate between commits in a pull request.