Skip to content

Commit

Permalink
Fixed #278: Firefox broken when nextTick falls back to XHR. Was using…
Browse files Browse the repository at this point in the history
… bad file URI.
  • Loading branch information
adam-p committed May 27, 2015
1 parent 71f47f8 commit df84634
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/common/CHANGES.md
@@ -1,7 +1,14 @@
Change Log
==========

### **Time to pick the new logo! [Cast your vote!](https://goo.gl/forms/XTrT6FwnFo)**
### Voting is complete and the [**new Markdown Here logo**](http://markdown-here.com/logo.html) has been chosen by the users!


2015-05-26: v2.11.9
-------------------

* [Fixed bug #278](https://github.com/adam-p/markdown-here/issues/278): In the previous release, the `setTimeout` workaround to fix slow Chrome Beta caused Firefox to stop working. For some people. Sometimes. (But not in the unit tests. Ha.)
- Thanks to [georgejean](https://github.com/georgejean), [Nathan Wittstock](https://github.com/fardog), [fugo](https://github.com/fugo), [Dheeraj Bhaskar](https://github.com/dheerajbhaskar), and [robred](https://github.com/robred).


2015-05-21: v2.11.8
Expand Down
2 changes: 1 addition & 1 deletion src/common/utils.js
Expand Up @@ -584,7 +584,7 @@ function getTopURL(win, justHostname) {

function asyncCallbackXHR(callback) {
var xhr = new window.XMLHttpRequest();
xhr.open('HEAD', '/common/CHANGES.md');
xhr.open('HEAD', getLocalURL('/common/CHANGES.md'));

xhr.onload = callback;
xhr.onerror = callback;
Expand Down

0 comments on commit df84634

Please sign in to comment.