Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Firefox. Do thins Right.

  • Loading branch information...
commit 09120ee89577ae984470fa6c08e513ba123ed846 1 parent bd30380
@ialexi authored
Showing with 6 additions and 4 deletions.
  1. +5 −3 apps/hedwig/views/article_view.js
  2. +1 −1  frameworks/sproutcore
View
8 apps/hedwig/views/article_view.js
@@ -59,9 +59,11 @@ Hedwig.ArticleView = SC.View.extend(Hedwig.TouchHelper, {
}.observes("content"),
processContent: function() {
- var d = this.$("a.demo").forEach(function(x) {
- x.outerHTML = Hedwig.articleController.replacementFor(x.getAttribute("href"));
- }, this);
+ var d = this.$("a.demo").each(function() {
+ console.error(this.getAttribute("href"));
+ this.innerHTML = Hedwig.articleController.replacementFor(this.getAttribute("href"));
+ this.setAttribute("href", "#");
+ });
},
touchStart: function(touch) { return this.mouseDown(touch); },
2  frameworks/sproutcore
@@ -1 +1 @@
-Subproject commit ba904546927e6f11c7ef3a348b1a22a7af470d23
+Subproject commit fd7cd7feae7419c4359ef649dc819b27196da5e5
Please sign in to comment.
Something went wrong with that request. Please try again.