mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-07-05 12:52:29 +00:00
Make eslint happy.
This commit is contained in:
parent
4c67340edd
commit
79d1e87dee
@ -6,22 +6,12 @@ var user_input = '';
|
|||||||
var user_input_mobile = '';
|
var user_input_mobile = '';
|
||||||
var currentUser = Discourse.User.current();
|
var currentUser = Discourse.User.current();
|
||||||
|
|
||||||
function splitWidthInt(value) {
|
|
||||||
var str = value.substring(0, 3);
|
|
||||||
return str.trim();
|
|
||||||
}
|
|
||||||
|
|
||||||
function splitHeightInt(value) {
|
|
||||||
var str = value.substring(0, 3);
|
|
||||||
return str.trim();
|
|
||||||
}
|
|
||||||
|
|
||||||
var data = {
|
var data = {
|
||||||
"topic-list-top" : {},
|
"topic-list-top" : {},
|
||||||
"topic-above-post-stream" : {},
|
"topic-above-post-stream" : {},
|
||||||
"topic-above-suggested" : {},
|
"topic-above-suggested" : {},
|
||||||
"post-bottom" : {}
|
"post-bottom" : {}
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
if (!Discourse.Mobile.mobileView && Discourse.SiteSettings.amazon_topic_list_top_src_code) {
|
if (!Discourse.Mobile.mobileView && Discourse.SiteSettings.amazon_topic_list_top_src_code) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user