mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-13 05:07:01 +03:00
fix #88
This commit is contained in:
parent
640027abe3
commit
2c10288e4b
|
@ -2062,7 +2062,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="source-modal" class="modal fade">
|
<div id="source-modal" class="modal fade" tabindex="-1">
|
||||||
<div class="modal-dialog modal-lg">
|
<div class="modal-dialog modal-lg">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
|
@ -2085,7 +2085,6 @@
|
||||||
|
|
||||||
var $button = $("<div id='source-button' class='btn btn-primary btn-xs'>< ></div>").click(function(){
|
var $button = $("<div id='source-button' class='btn btn-primary btn-xs'>< ></div>").click(function(){
|
||||||
var index = $('.bs-component').index( $(this).parent() );
|
var index = $('.bs-component').index( $(this).parent() );
|
||||||
console.log(index);
|
|
||||||
$.get(window.location.href, function(data){
|
$.get(window.location.href, function(data){
|
||||||
var html = $(data).find('.bs-component').eq(index).html();
|
var html = $(data).find('.bs-component').eq(index).html();
|
||||||
html = cleanSource(html);
|
html = cleanSource(html);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user