We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d6ac8d commit 837baf5Copy full SHA for 837baf5
war/js/main.js
@@ -12,15 +12,13 @@ function refreshNews() {
12
}
13
14
$(function() {
15
- var $window = $(window)
16
-
17
refreshNews();
18
19
// side bar
20
$('.bs-docs-sidenav').affix({
21
offset: {
22
top: function() {
23
- return $window.width() <= 980 ? 290 : 210
+ return $(window).width() <= 980 ? 290 : 210
24
},
25
bottom: 270
26
@@ -224,5 +222,7 @@ function reloadSocial() {
224
222
if (typeof (gapi) != 'undefined') {
225
223
delete gapi;
226
$.getScript('//apis.google.com/js/plusone.js');
+ } else {
+ loadGooglePlus();
227
228
0 commit comments