main
Paul Schneider 8 years ago
parent f316ce472d
commit 07d3895e6d
2 changed files with 29 additions and 26 deletions

@ -68,6 +68,14 @@ h6 {
<style>
nav { background: url(@Startup.SiteSetup.Banner) 0% 50% no-repeat; }
</style>
<script>
$(document).ready(function() {
if (typeof allowCircleToBlog !== "undefined") {
$('input.Blogcirle[type=checkbox]').on('change', allowCircleToBlog);
}
});
</script>
@RenderSection("header", required: false)
</head>
<body>

@ -1,5 +1,4 @@
+(function($) {
var allowCircleToBlog = function(e) {
var allowCircleToBlog = function(e) {
var allow = $(this).prop('checked');
var circleid = $(this).data('circle-id');
var targetid = $(this).data('target-id');
@ -20,8 +19,4 @@
}
});
e.preventDefault();
};
$(document).ready(function() {
$('input.Blogcirle[type=checkbox]').on('change', allowCircleToBlog);
});
})(jQuery);
}
Loading…