leanote v1.1 build

This commit is contained in:
lealife
2015-10-10 16:55:36 +08:00
parent c844c8b188
commit a4d9d8e0d3
12 changed files with 240 additions and 82 deletions

View File

@ -913,10 +913,12 @@ var Pjax = {
// ajax后调用
changeNote: function(noteInfo) {
var me = this;
log("push");
var noteId = noteInfo.NoteId;
var title = noteInfo.Title;
var url = '/note/' + noteId;
if (location.href.indexOf('?online') > 0) {
url += '?online=1'
}
if(location.hash) {
url += location.hash;
}