Ignore:
Timestamp:
May 18, 2017, 10:20:11 AM (21 months ago)
Author:
arno@…
Message:

Bug Javascript

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/medias_responsive_mod/squelettes/javascript/portfolio_slide.js

    r104550 r104568  
    1212function activer_porfolio_slide() {
    1313
    14         $(".portfolio_slide").on("mousedown touchstart MSPointerDown pointerdown", function(e) {
     14        $(".portfolio_slide").on("touchstart MSPointerDown pointerdown", function(e) {
    1515                var event = e.originalEvent;
    1616                if (event.pointerType && (event.pointerType == event.MSPOINTER_TYPE_MOUSE || event.pointerType == "mouse" )) return;
     
    2121                this.margin_left_init = _getComputedTranslateX(this);           
    2222               
    23         }).on("mousemove touchmove MSPointerMove pointermove", function(e) {
     23        }).on("touchmove MSPointerMove pointermove", function(e) {
    2424                var event = e.originalEvent;
    2525                if (event.pointerType && (event.pointerType == event.MSPOINTER_TYPE_MOUSE || event.pointerType == "mouse" )) return;
     
    3737                        $(this).css("transform", "translate3d("+ decal +"px, 0,0)");
    3838               
    39         }).on("mouseup touchend MSPointerUp pointerup", function(e) {
     39        }).on("touchend MSPointerUp pointerup", function(e) {
    4040                var event = e.originalEvent;
    4141                if (event.pointerType && (event.pointerType == event.MSPOINTER_TYPE_MOUSE || event.pointerType == "mouse" )) return;
Note: See TracChangeset for help on using the changeset viewer.