Skip to content

Commit 1a501a7

Browse files
author
Aaron Irving
committed
Update GridItem.vue
1 parent fdf493d commit 1a501a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/GridItem.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
};
258258
259259
self.directionchangeHandler = () => {
260-
this.rtl = getDocumentDir();
260+
this.rtl = getDocumentDir() === 'rtl';
261261
this.compact();
262262
};
263263
@@ -273,7 +273,7 @@
273273
this.eventBus.$on('directionchange', self.directionchangeHandler);
274274
this.eventBus.$on('setColNum', self.setColNum)
275275
276-
this.rtl = getDocumentDir();
276+
this.rtl = getDocumentDir() === 'rtl';
277277
},
278278
beforeDestroy: function(){
279279
let self = this;

0 commit comments

Comments
 (0)