mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-05 18:38:19 +01:00
Update content of files
This commit is contained in:
parent
6328693974
commit
9efe5db0c8
6 changed files with 168 additions and 18 deletions
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?81" rel="stylesheet">
|
||||
<link href="/css/promote.css?82" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -107,14 +107,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?78"></script>
|
||||
<script src="/js/promote.js?79"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?18"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?19"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":978,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":980,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?81" rel="stylesheet">
|
||||
<link href="/css/promote.css?82" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -107,14 +107,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?78"></script>
|
||||
<script src="/js/promote.js?79"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?18"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?19"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":978,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":980,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
openPopup('#login-popup-container');
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?81" rel="stylesheet">
|
||||
<link href="/css/promote.css?82" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -107,14 +107,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?78"></script>
|
||||
<script src="/js/promote.js?79"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?18"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?19"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":978,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":980,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -1205,6 +1205,19 @@ body.rtl .pr-review-header-dd .pr-dropdown-label:after {
|
|||
margin-left: 0;
|
||||
}
|
||||
|
||||
.pr-section-header {
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
margin: 31px 13px 3px;
|
||||
}
|
||||
.pr-section-subheader {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
font-weight: normal;
|
||||
margin: 7px 13px 7px;
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.pr-search-form {
|
||||
display: flex;
|
||||
padding: 5px 15px 10px;
|
||||
|
@ -2563,7 +2576,8 @@ fieldset.pr-form-control-wrap .checkbox-item-block {
|
|||
max-width: 100%;
|
||||
width: 300px;
|
||||
}
|
||||
.pr-new-form .pr-form-column {
|
||||
.pr-new-form .pr-form-column,
|
||||
.pr-new-form-same .pr-form-column {
|
||||
width: 100%;
|
||||
}
|
||||
.pr-form-header {
|
||||
|
@ -2726,6 +2740,13 @@ fieldset.pr-form-control-wrap .checkbox-item-block {
|
|||
.pr-new-form .pr-form-column + .pr-form-column {
|
||||
width: 430px;
|
||||
}
|
||||
.pr-new-form-same {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.pr-new-form-same .pr-form-column {
|
||||
width: 330px;
|
||||
margin: 0 55px 0 0;
|
||||
}
|
||||
.pr-form-link {
|
||||
right: 0;
|
||||
}
|
||||
|
@ -2887,6 +2908,135 @@ fieldset.pr-form-control-wrap .checkbox-item-block {
|
|||
padding: 13px 20px;
|
||||
}
|
||||
|
||||
.pr-main-content-new {
|
||||
display: flex;
|
||||
margin: 20px;
|
||||
flex-direction: column;
|
||||
}
|
||||
.pr-main-intro {
|
||||
text-align: center;
|
||||
}
|
||||
.pr-main-intro-img {
|
||||
vertical-align: top;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.pr-main-intro-header {
|
||||
font-size: 22px;
|
||||
line-height: 36px;
|
||||
margin: 19px 0 9px;
|
||||
}
|
||||
.pr-main-intro-text {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
.pr-main-intro-text b {
|
||||
font-weight: 500;
|
||||
}
|
||||
.pr-main-intro-button-wrap {
|
||||
margin-top: 22px;
|
||||
}
|
||||
.pr-main-intro-button-wrap .pr-btn {
|
||||
width: 100%;
|
||||
padding: 12px 20px;
|
||||
}
|
||||
.pr-main-features {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid #dedede;
|
||||
border-radius: 12px;
|
||||
padding: 10px 25px;
|
||||
margin-top: 30px;
|
||||
position: relative;
|
||||
}
|
||||
.pr-main-features:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
left: 50%;
|
||||
top: -10px;
|
||||
width: 27px;
|
||||
height: 10px;
|
||||
transform: translateX(-50%);
|
||||
background: url('data:image/svg+xml,%3Csvg%20height%3D%2210%22%20viewBox%3D%220%200%2027%2010%22%20width%3D%2227%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0%2010h2.1c.71%200%201.38-.3%201.85-.82l6.08-6.71c.63-.69%201.48-1.08%202.35-1.14s1.77.2%202.49.8l8.75%207.29c.45.38%201.01.58%201.6.58h1.78%22%20fill%3D%22%23fff%22%20stroke%3D%22%23dedede%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
|
||||
}
|
||||
.pr-main-feature {
|
||||
position: relative;
|
||||
padding-left: 40px;
|
||||
margin: 10px 0;
|
||||
}
|
||||
.pr-main-feature-title {
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.pr-main-feature-text {
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.pr-main-feature:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
left: 0;
|
||||
top: 5px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background: no-repeat center;
|
||||
}
|
||||
.icon-feature1:before {
|
||||
background-image: url('data:image/svg+xml,%3Csvg%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m3.5%204.8333v15c0%20.18.15.33.33.33h15.67m-12.33-5.16%203.26-3.42c.13-.14.34-.14.47-.01h.01l1.69%201.69c.13.13.34.13.47%200l6.93-6.93m.33%204.33v-4.66c0-.19-.15-.34-.33-.34h-4.67%22%20fill%3D%22none%22%20stroke%3D%22%23222%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.47%22%2F%3E%3C%2Fsvg%3E');
|
||||
}
|
||||
.icon-feature2:before {
|
||||
background-image: url('data:image/svg+xml,%3Csvg%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20height%3D%2213.33%22%20rx%3D%222.78%22%20stroke%3D%22%23222%22%20stroke-width%3D%221.47%22%20width%3D%2216.67%22%20x%3D%223.6667%22%20y%3D%229%22%2F%3E%3Cpath%20d%3D%22m7.17%208.67v-2.67c0-2.67%202.16-4.83%204.83-4.83s4.83%202.16%204.83%204.83v2.67%22%20stroke%3D%22%23222%22%20stroke-width%3D%221.47%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2215.67%22%20fill%3D%22%23222%22%20r%3D%221.67%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
|
||||
}
|
||||
.icon-feature3:before {
|
||||
background-image: url('data:image/svg+xml,%3Csvg%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22m14%2021.33h4.67c1.47%200%202.66-1.19%202.66-2.66v-13.34c0-1.47-1.19-2.66-2.66-2.66-1.56%200-3.11%200-4.67%200%22%20stroke%3D%22%23222%22%20stroke-dasharray%3D%220%204.33%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.87%22%2F%3E%3Cpath%20d%3D%22m10%2021.33c-1.56%200-3.11%200-4.67%200-1.47%200-2.66-1.19-2.66-2.66v-13.34c0-1.47%201.19-2.66%202.66-2.66h4.67%22%20stroke%3D%22%23222%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m12.35%2018.37c.33%200%20.78-.29.78-.73v-.59c1.97-.21%203.04-1.37%203.04-3.05%200-1.45-.87-2.33-2.68-2.73l-1.48-.33c-.93-.21-1.39-.63-1.39-1.26%200-.74.65-1.29%201.66-1.29.82%200%201.39.28%202.03.99.32.34.57.46.91.46.41%200%20.72-.28.72-.71%200-.41-.24-.85-.65-1.26-.54-.51-1.17-.85-2.09-.96v-.61c0-.43-.47-.77-.81-.77-.33%200-.76.33-.76.77v.59c-1.89.17-2.97%201.31-2.97%202.93%200%201.42.87%202.37%202.54%202.74l1.49.35c1.08.25%201.53.63%201.53%201.28%200%20.83-.65%201.36-1.82%201.36-.87%200-1.59-.33-2.25-1.04-.38-.37-.58-.45-.86-.45-.45%200-.78.28-.78.77%200%20.43.25.88.69%201.27.59.53%201.46.86%202.47.95v.58c0%20.44.34.74.68.74z%22%20fill%3D%22%23222%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
|
||||
}
|
||||
.icon-feature4:before {
|
||||
background-image: url('data:image/svg+xml,%3Csvg%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23222%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22m3.1261%204.5h15.3739m-15.3739%205h10.7072m-10.7072%205h6.6186%22%20stroke-width%3D%221.53%22%2F%3E%3Cpath%20d%3D%22m21.23%2011.4%201.37%201.37c.59.59.59%201.54%200%202.13l-7.22%207.22c-.23.23-.54.37-.87.38l-2.18.06c-.48.01-.87-.36-.89-.84%200-.01%200-.03%200-.05l.06-2.18c.01-.33.15-.64.38-.87l7.22-7.22c.59-.59%201.54-.59%202.13%200zm-2.96%201.97%202.29%202.29%22%20stroke-width%3D%221.47%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
|
||||
}
|
||||
.icon-feature5:before {
|
||||
background-image: url('data:image/svg+xml,%3Csvg%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23222%22%20stroke-width%3D%221.5%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210.67%22%2F%3E%3Cpath%20d%3D%22m7%208.33h9.99c.22%200%20.4.18.4.4%200%20.07-.02.14-.06.2l-4.72%208.46c-.21.39-.7.53-1.09.31-.13-.07-.24-.18-.31-.32l-4.56-8.46c-.1-.19-.03-.43.16-.54.06-.03.13-.05.19-.05zm5%209.19v-9.19%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
|
||||
}
|
||||
@media screen and (min-width: 992px) {
|
||||
.pr-main-content-new {
|
||||
margin: 100px auto;
|
||||
flex-direction: row;
|
||||
}
|
||||
.pr-main-intro {
|
||||
width: 360px;
|
||||
}
|
||||
.pr-main-intro-header {
|
||||
margin-top: 22px;
|
||||
}
|
||||
.pr-main-intro-button-wrap {
|
||||
margin-top: 25px;
|
||||
}
|
||||
.pr-main-features {
|
||||
width: 485px;
|
||||
margin-top: 0;
|
||||
margin-left: 45px;
|
||||
padding-left: 27px;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.pr-main-features:before {
|
||||
left: -10px;
|
||||
top: 100px;
|
||||
width: 10px;
|
||||
height: 27px;
|
||||
transform: translateY(-50%);
|
||||
background-image: url('data:image/svg+xml,%3Csvg%20height%3D%2227%22%20viewBox%3D%220%200%2010%2027%22%20width%3D%2210%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m10%2027v-2.1c0-.71-.3-1.38-.82-1.85l-6.71-6.08c-.69-.63-1.08-1.48-1.14-2.35s.2-1.77.8-2.49l7.29-8.75c.38-.45.58-1.01.58-1.6v-1.78%22%20fill%3D%22%23fff%22%20stroke%3D%22%23dedede%22%2F%3E%3C%2Fsvg%3E');
|
||||
}
|
||||
.pr-main-feature {
|
||||
margin: 5px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes circle-rotate {
|
||||
from { transform: rotateZ(0); }
|
||||
to { transform: rotateZ(720deg); }
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?81" rel="stylesheet">
|
||||
<link href="/css/promote.css?82" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -254,14 +254,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?78"></script>
|
||||
<script src="/js/promote.js?79"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?18"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?19"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":978,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":980,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.initDevPageNav&&initDevPageNav();
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
|
|
|
@ -523,7 +523,7 @@ var NewAd = {
|
|||
init: function() {
|
||||
var cont = Aj.ajContainer;
|
||||
Aj.onLoad(function(state) {
|
||||
state.$form = $('.pr-new-form', cont);
|
||||
state.$form = $('.js-ad-form', cont);
|
||||
Ads.formInit(state.$form);
|
||||
state.$form.on('submit', preventDefault);
|
||||
cont.on('click.curPage', '.js-preview-link', NewAd.ePreviewAd);
|
||||
|
@ -1282,7 +1282,7 @@ var NewAd = {
|
|||
var website_name_hidden = $('.js-website-name-wrap', $form).isSlideHidden();
|
||||
var custom_button_hidden = $('.js-custom-button-wrap', $form).isSlideHidden();
|
||||
|
||||
var $previewForm = $('.pr-new-form', $previewPopup);
|
||||
var $previewForm = $('.js-ad-form', $previewPopup);
|
||||
Ads.formInit($previewForm);
|
||||
$previewForm.on('submit', preventDefault);
|
||||
|
||||
|
@ -1439,7 +1439,7 @@ var NewAd = {
|
|||
}
|
||||
var target_type = $form.field('target_type').value();
|
||||
|
||||
var $scheduleForm = $('.pr-new-form', $schedulePopup);
|
||||
var $scheduleForm = $('.js-ad-form', $schedulePopup);
|
||||
Ads.formInit($scheduleForm);
|
||||
$scheduleForm.on('submit', preventDefault);
|
||||
|
||||
|
@ -1695,7 +1695,7 @@ var NewAd = {
|
|||
getPreviewFormData: function($form) {
|
||||
if (Aj.state.$previewPopup) {
|
||||
var $previewPopup = Aj.state.$previewPopup;
|
||||
var $previewForm = $('.pr-new-form', $previewPopup);
|
||||
var $previewForm = $('.js-ad-form', $previewPopup);
|
||||
if (!$previewForm.get(0)) return false;
|
||||
var values = [
|
||||
$previewForm.field('text').value(),
|
||||
|
@ -2838,7 +2838,7 @@ var EditAd = {
|
|||
init: function() {
|
||||
var cont = Aj.ajContainer;
|
||||
Aj.onLoad(function(state) {
|
||||
state.$form = $('.pr-new-form', cont);
|
||||
state.$form = $('.js-ad-form', cont);
|
||||
Ads.formInit(state.$form);
|
||||
state.$form.on('submit', preventDefault);
|
||||
cont.on('click.curPage', '.js-preview-link', NewAd.ePreviewAd);
|
||||
|
|
Loading…
Reference in a new issue