Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e35993c

Browse files
committed
发布bugfix
1 parent a364ce1 commit e35993c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

static/js/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SG.Publisher.prototype = {
4141
}
4242

4343
if (typeof callback != "undefined") {
44-
callback(data);
44+
callback(data.data);
4545
return;
4646
}
4747

static/js/topics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
} else {
5151
window.location.href = '/topics';
5252
}
53-
}, 2000);
53+
}, 1000);
5454
});
5555
});
5656

template/common/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
}
254254
var GLaunchTime = {{timestamp .app.LaunchTime}}*1000;
255255
</script>
256-
<script src="/static/js/common.js?v=1.2"></script>
256+
<script src="/static/js/common.js?v=1.3"></script>
257257
{{template "js" .}}
258258
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jsrender/0.9.84/jsrender.min.js"></script>
259259
<script type="text/javascript">

0 commit comments

Comments
 (0)