reorg
This commit is contained in:
parent
2b719876c6
commit
16f326c44f
2 changed files with 29 additions and 26 deletions
|
|
@ -68,6 +68,14 @@ h6 {
|
||||||
<style>
|
<style>
|
||||||
nav { background: url(@Startup.SiteSetup.Banner) 0% 50% no-repeat; }
|
nav { background: url(@Startup.SiteSetup.Banner) 0% 50% no-repeat; }
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
if (typeof allowCircleToBlog !== "undefined") {
|
||||||
|
$('input.Blogcirle[type=checkbox]').on('change', allowCircleToBlog);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
@RenderSection("header", required: false)
|
@RenderSection("header", required: false)
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
+(function($) {
|
|
||||||
var allowCircleToBlog = function(e) {
|
var allowCircleToBlog = function(e) {
|
||||||
var allow = $(this).prop('checked');
|
var allow = $(this).prop('checked');
|
||||||
var circleid = $(this).data('circle-id');
|
var circleid = $(this).data('circle-id');
|
||||||
|
|
@ -20,8 +19,4 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
};
|
}
|
||||||
$(document).ready(function() {
|
|
||||||
$('input.Blogcirle[type=checkbox]').on('change', allowCircleToBlog);
|
|
||||||
});
|
|
||||||
})(jQuery);
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue