Hide left side bar on mobile in arabic language

Hi, I’m having this problem while the language is Arabic.
the lift side bar can’t be auto hidden on mobile browser while language is Arabic
but in English it works fine.
I guess it is related with jQuery or bootstrap.