diff options
| author | lempamo <[email protected]> | 2017-02-26 16:01:30 -0500 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-02-26 16:01:30 -0500 |
| commit | f02a07b02f6a15b2f1a245c3804ef751e05d7c40 (patch) | |
| tree | 1c782698c30fe8678d358d723444e017f2adccad /ShiftOS.WinForms/Applications/Shiftnet.cs | |
| parent | 705d1daefa607d3d3a23da5590c262d8f6f69d70 (diff) | |
| parent | 82a5ca296bb6b4fe000b46af187fb41282e6bd62 (diff) | |
| download | shiftos_thereturn-f02a07b02f6a15b2f1a245c3804ef751e05d7c40.tar.gz shiftos_thereturn-f02a07b02f6a15b2f1a245c3804ef751e05d7c40.tar.bz2 shiftos_thereturn-f02a07b02f6a15b2f1a245c3804ef751e05d7c40.zip | |
Merge remote-tracking branch 'refs/remotes/shiftos-game/master'
Diffstat (limited to 'ShiftOS.WinForms/Applications/Shiftnet.cs')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Shiftnet.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Shiftnet.cs b/ShiftOS.WinForms/Applications/Shiftnet.cs index af0e6ad..3da7d6a 100644 --- a/ShiftOS.WinForms/Applications/Shiftnet.cs +++ b/ShiftOS.WinForms/Applications/Shiftnet.cs @@ -104,7 +104,10 @@ namespace ShiftOS.WinForms.Applications </html>"; string body = CommonMark.CommonMarkConverter.Convert(markdown); - + for(int i = 0; i <= Encoding.UTF8.GetBytes(body).Length; i += DownloadManager.GetDownloadSpeed()) + { + //halt the page load until 'download' finishes. + } html = html.Replace("<markdown/>", body); return html; } |
