diff --git a/app/assets/javascripts/mobile.js b/app/assets/javascripts/mobile.js index 0e97398ed..1583742c3 100644 --- a/app/assets/javascripts/mobile.js +++ b/app/assets/javascripts/mobile.js @@ -1,7 +1 @@ -//= require jquery-1.10.1.min.js //= require hammer.min.js -//= require jquery.hammer.min.js - -$(function() { - $(document).hammer(); -}); diff --git a/app/views/mobile/posts/index.html.erb b/app/views/mobile/posts/index.html.erb index e9f011c5e..c4df4c231 100644 --- a/app/views/mobile/posts/index.html.erb +++ b/app/views/mobile/posts/index.html.erb @@ -11,25 +11,20 @@ <% end %> diff --git a/app/views/mobile/posts/show.html.erb b/app/views/mobile/posts/show.html.erb index 0775568c8..cc8118999 100644 --- a/app/views/mobile/posts/show.html.erb +++ b/app/views/mobile/posts/show.html.erb @@ -13,19 +13,16 @@ diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index f7ce37b09..3d1d4a952 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -4,7 +4,7 @@ module Danbooru class Configuration # The version of this Danbooru. def version - "2.57.0" + "2.57.1" end # The name of this Danbooru. diff --git a/vendor/assets/javascripts/jquery.hammer.min.js b/vendor/assets/javascripts/jquery.hammer.min.js deleted file mode 100644 index df8081698..000000000 --- a/vendor/assets/javascripts/jquery.hammer.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! jQuery plugin for Hammer.JS - v1.1.3 - 2014-05-20 - * http://eightmedia.github.com/hammer.js - * - * Copyright (c) 2014 Jorik Tangelder ; - * Licensed under the MIT license */ - -!function(a,b){"use strict";function c(a,c){Date.now||(Date.now=function(){return(new Date).getTime()}),a.utils.each(["on","off"],function(d){a.utils[d]=function(a,e,f){c(a)[d](e,function(a){var d=c.extend({},a.originalEvent,a);d.button===b&&(d.button=a.which-1),f.call(this,d)})}}),a.Instance.prototype.trigger=function(a,b){var d=c(this.element);return d.has(b.target).length&&(d=c(b.target)),d.trigger({type:a,gesture:b})},c.fn.hammer=function(b){return this.each(function(){var d=c(this),e=d.data("hammer");e?e&&b&&a.utils.extend(e.options,b):d.data("hammer",new a(this,b||{}))})}}"function"==typeof define&&define.amd?define(["hammerjs","jquery"],c):c(a.Hammer,a.jQuery||a.Zepto)}(window); -//# sourceMappingURL=jquery.hammer.min.map \ No newline at end of file