Coder Social home page Coder Social logo

modal's People

Contributors

script47 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

modal's Issues

Using $.modal more than one time in sequence only displays FIRST modal

What went wrong?
See subject line

A clear and concise description of what the bug is.
Here's the code ... the first modal displays, but the second does NOT:
` var title = "Test Title";
var msg = "Test message";

    $.modal({
        type: "error", // "success", "info", "warning", and "error"
        title: title,
        content: msg,
        buttons: [
            {
                type: "dismiss",
                label: "Close"
            }
        ]
    });
    $.modal({
        type: "warning", // "success", "info", "warning", and "error"
        title: title,
        content: msg,
        buttons: [
            {
                type: "dismiss",
                label: "Close"
            }
        ]
    });`

What was the console output?
N/A

N/A if no console output was recorded

How can we reproduce this bug?

See code above .... I suspect an underlying div is using .hide() and modal initialization fails to use .show() (or equivalent)

The Steps to reproduce this behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What should've happened?

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Miscellaneous (please complete the following information):
Chrome: Build 77.0.3865.120
Bootstrap v4.3.1
Script47 v0.0.1

  • Browser and Version [e.g. stock browser, safari]
  • Bootstrap Version [e.g. 4.3]
  • Plugin Version [e.g. 0.7.1]

Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.