mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-11 00:44:07 +02:00
refactor: Use ===
This commit is contained in:
@@ -60,7 +60,7 @@ export default define({
|
||||
},
|
||||
methods: {
|
||||
func() {
|
||||
if (this.props.design == 2) {
|
||||
if (this.props.design === 2) {
|
||||
this.props.design = 0;
|
||||
} else {
|
||||
this.props.design++;
|
||||
@@ -68,7 +68,7 @@ export default define({
|
||||
this.save();
|
||||
},
|
||||
toggleView() {
|
||||
if (this.props.view == 1) {
|
||||
if (this.props.view === 1) {
|
||||
this.props.view = 0;
|
||||
} else {
|
||||
this.props.view++;
|
||||
|
||||
Reference in New Issue
Block a user