Browse Source

Formatting for sidebar #1550

pull/1615/head
jlukic 10 years ago
parent
commit
7d9f50a451
1 changed files with 3 additions and 3 deletions
  1. 6
      src/definitions/modules/sidebar.js

6
src/definitions/modules/sidebar.js

@ -194,12 +194,12 @@ $.fn.sidebar = function(parameters) {
add: { add: {
bodyCSS: function(direction, distance) { bodyCSS: function(direction, distance) {
var var
width = $module.outerWidth(),
height = $module.outerHeight(),
width = $module.outerWidth(),
height = $module.outerHeight(),
negativeWidth = width * -1, negativeWidth = width * -1,
style style
; ;
if (module.is.rtl()) {
if( module.is.rtl() ){
width *= -1; width *= -1;
negativeWidth *= -1; negativeWidth *= -1;
} }

Loading…
Cancel
Save