summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/PageView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-09-03 18:14:43 +0200
committerJules Laplace <julescarbon@gmail.com>2019-09-03 18:14:43 +0200
commit0261ee59c47c4a940cd41b526bd891a97c02a6dd (patch)
treef67ee85390c75801de2312b94a624b13326dbae9 /StoneIsland/www/js/lib/blogs/PageView.js
parent6f2af841c17ff4ed28d40121114825a40e8cf6fa (diff)
ditching iscroll
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/PageView.js')
-rwxr-xr-xStoneIsland/www/js/lib/blogs/PageView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/blogs/PageView.js b/StoneIsland/www/js/lib/blogs/PageView.js
index ae18091a..9a7b4962 100755
--- a/StoneIsland/www/js/lib/blogs/PageView.js
+++ b/StoneIsland/www/js/lib/blogs/PageView.js
@@ -9,7 +9,7 @@ var PageView = ScrollableView.extend({
this.setElement("#" + opt.page)
this.$content = this.$(".content")
this.$loader = this.$(".loader")
- this.scroller = new IScroll('#' + this.page, app.iscroll_options)
+ this.scroller = ScrollFactory('#' + this.page, app.iscroll_options)
},
show: function(){
@@ -26,7 +26,7 @@ var PageView = ScrollableView.extend({
href = href.substr(1, href.length-2)
$(this).attr("href", href)
}
- console.log(href)
+ // console.log(href)
$(this).attr("target", "_system")
})
},