mduan/blog — comment on commit 713bb169734e62d2e198aedd65096e62bded556e
File: assets/js/screen.js line 24
By divad12:

FYI: (here and other places) don't need quotes around JS keys. Could do

.animate({ width: oldWidth, paddingRight: oldPaddingRight});

Notice jQuery lets you do `paddingRight`, which is the same as `'padding-right'`.