]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove stray "~" in modal paddingRight value (#19932)
authorakai <akainice@gmail.com>
Wed, 18 May 2016 20:53:01 +0000 (04:53 +0800)
committerChris Rebert <github@chrisrebert.com>
Wed, 18 May 2016 20:53:01 +0000 (13:53 -0700)
[skip validator]

js/src/modal.js

index 695ac569b8122f01cdcc92cf1885725b93ce479c..f52af09a2afb2bcaa072889e53f4ea6084f19b03 100644 (file)
@@ -400,7 +400,7 @@ const Modal = (($) => {
       }
 
       if (this._isBodyOverflowing && !isModalOverflowing) {
-        this._element.style.paddingRight = `${this._scrollbarWidth}px~`
+        this._element.style.paddingRight = `${this._scrollbarWidth}px`
       }
     }