1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

Minor style tweaks.

This commit is contained in:
XhmikosR
2014-05-29 07:35:22 +03:00
parent 82fc03f3b6
commit e2cabe4971
8 changed files with 30 additions and 20 deletions

View File

@@ -208,7 +208,7 @@
this.scrollbarWidth = this.scrollbarWidth || this.measureScrollbar()
}
Modal.prototype.setScrollbar = function () {
Modal.prototype.setScrollbar = function () {
var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
if (this.scrollbarWidth) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
}