fix eqeqeq issue for frontweb

This commit is contained in:
CloverHearts 2016-10-18 03:29:22 +09:00 committed by Jongyoul Lee
parent b18bff4a1f
commit d20195017c

View file

@ -216,9 +216,9 @@
option = setting.option;
}
if (option.perNote == 'scoped') {
if (option.perNote === 'scoped') {
return 'scoped';
} else if (option.perNote == 'isolated') {
} else if (option.perNote === 'isolated') {
return 'isolated';
} else {
return 'shared';
@ -235,9 +235,9 @@
option = setting.option;
}
if (option.perUser == 'scoped') {
if (option.perUser === 'scoped') {
return 'scoped';
} else if (option.perUser == 'isolated') {
} else if (option.perUser === 'isolated') {
return 'isolated';
} else {
return 'shared';