* fix hash code ‘#todo-id’ not work.

This commit is contained in:
Catouse
2018-07-12 16:58:21 +08:00
parent ac3547b11c
commit 9179d52d84
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ $(function()
if(hash.indexOf('#todo-') === 0)
{
var todoId = hash.substr(6);
var url = createLink('todo', 'view', 'id=' + todoId + '&from=my&onlybody=yes');
var url = createLink('todo', 'view', 'id=' + todoId + '&from=my', '', 'yes');
var $a = $('<a/>');
$a.attr({href: url}).modalTrigger(
{
+1 -1
View File
File diff suppressed because one or more lines are too long