diff options
author | vitalyster | 2012-10-09 23:23:43 +0400 |
---|---|---|
committer | vitalyster | 2012-10-09 23:23:43 +0400 |
commit | 9252e0da67df741fa9212269434087689fb3f01e (patch) | |
tree | 94dcd15560f911cbbb0b527e941227e860298626 /Juick/ThreadView.xaml.cs | |
parent | e3eefd6bf4af630cfd1db4a3701492d184185e10 (diff) |
remove crap from relative URLs
Diffstat (limited to 'Juick/ThreadView.xaml.cs')
-rw-r--r-- | Juick/ThreadView.xaml.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Juick/ThreadView.xaml.cs b/Juick/ThreadView.xaml.cs index eac9813..958efe2 100644 --- a/Juick/ThreadView.xaml.cs +++ b/Juick/ThreadView.xaml.cs @@ -22,16 +22,9 @@ namespace Juick protected override void OnNavigatedTo(NavigationEventArgs e)
{
string _mid = "";
- string _last = "";
- bool last = false;
- if (NavigationContext.QueryString.TryGetValue("last", out _last))
- {
- last = bool.Parse(_last);
- }
if (NavigationContext.QueryString.TryGetValue("mid", out _mid))
{
- int MID = int.Parse(_mid);
- Model.Mid = last ? App.LastView.Items.Single(i => i.MID == MID).MID : App.MyFeedView.Items.Single(i => i.MID == MID).MID;
+ Model.Mid = int.Parse(_mid);
Model.LoadData();
}
}
|