Skip to content
Snippets Groups Projects
Select Git revision
  • 043df1d9f1cea55d7585d25aecb7736b5e06bd79
  • main default
  • 35-cgu
  • 34-peertube-support
  • 27-add-autoplay-to-iframe
  • 33-bug-on-youtube-embed-urls
  • RC-Rekall-v1.1-fix_lpo
  • tuleap-140-go-back-to-my-capsules-page-when-i-m-on-capsule-preview-page
  • RC-Rekall-v1.2-fix10
  • RC-Rekall-v1.2-fix9
  • RC-Rekall-v1.2-fix8
  • RC-Rekall-v1.2-fix7
  • RC-Rekall-v1.2-fix6
  • RC-Rekall-v1.2-fix5
  • RC-Rekall-v1.2-fix4
  • RC-Rekall-v1.2-fix3
  • RC-Rekall-v1.2-fix2
  • RC-Rekall-v1.2-fix1
  • RC-Rekall-v1.1-fix-3
  • RC-Rekall-v1.1-fix-2
  • RC-Rekall-v1.1-fix-1
  • RC-Rekall-v1.1-delivered
  • preprod20220209-1535
23 results

app.js

Blame
  • Loïs Poujade's avatar
    Loïs Poujade authored
    - change playback rate icon
    - pause on paste annotation
    - padding under settings button
    - reset filter on line upper
    - "playback rate" title + reduce size (& size of labels)
    - message sf danger/warning don't disapear
    - prevent crash on capsule with a bad video url
    043df1d9
    History
    app.js 878 B
    /*
     * Welcome to your app's main JavaScript file!
     *
     * We recommend including the built version of this JavaScript file
     * (and its CSS file) in your base layout (base.html.twig).
     */
    
    const $ = require('jquery');
    // this "modifies" the jquery module: adding behavior to it
    // the bootstrap module doesn't export/return anything
    require('bootstrap');
    
    import PubSub from 'pubsub-js'
    
    // any CSS you import will output into a single css file (app.css in this case)
    // import './styles/app.css';
    import './styles/app.scss';
    
    
    // start the Stimulus application
    import './bootstrap';
    
    $(function() {
        $('select.choice-auto-submit').on('change', function () {
            $(this).parents('form').submit();
        });
    })
    
    $("document").ready(function(){
        setTimeout(function(){
            $(".flash-message:not(.alert-danger):not(.alert-warning)").remove();
        }, 5000 ); // 5 secs
    });