Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit a47be33

Browse files
committed
code cleanup
1 parent 4a60c5f commit a47be33

File tree

2 files changed

+1
-44
lines changed

2 files changed

+1
-44
lines changed

css/obBase.css

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,6 @@ h6, .h6 {
329329
position: relative;
330330
}
331331

332-
/*#contentFrame.modalOpen #pageNav .badge {
333-
display: none;
334-
}
335-
*/
336-
337332
#pageNav {
338333
position: relative;
339334
-webkit-app-region: no-drag;
@@ -358,17 +353,6 @@ h6, .h6 {
358353
box-sizing: border-box;
359354
}
360355

361-
/*#obContainer.modalOpen,
362-
#obContainer.innerModalOpen {
363-
overflow: hidden;
364-
obContainer must also be set to scrollTop(0), otherwise the modal may be scrolled out of place
365-
}*/
366-
367-
/*#obContainer.modalOpen #content {
368-
-webkit-filter: blur(1px);
369-
}
370-
*/
371-
372356
#obContainer.customizeUserPage {
373357
overflow: hidden;
374358
border: 5px dashed #fff;

js/views/userPageVw.js

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,34 +1837,7 @@ UserPageVw = pageVw.extend({
18371837
this.needsBlockedWarning && this.hideThisUser('blocked');
18381838
});
18391839
}
1840-
1841-
// this.$('.js-blockedWarning').fadeIn(100);
1842-
// $('#obContainer').addClass('innerModalOpen').scrollTop(0);
1843-
// this.$('.js-mainContainer').addClass('blurMore');
1844-
// if (reason == "blocked"){
1845-
// this.$('.js-reasonBlocked').removeClass('hide');
1846-
// this.$('.js-reasonNSFW').addClass('hide');
1847-
// } else if (reason == 'nsfw'){
1848-
// this.$('.js-reasonBlocked').addClass('hide');
1849-
// this.$('.js-reasonNSFW').removeClass('hide');
1850-
// }
1851-
},
1852-
1853-
// clickShowNSFWContent: function(){
1854-
// this.showNSFWContent = true;
1855-
// this.showNSFW = true;
1856-
// this.showBlockedUser();
1857-
// if (this.state == "listing"){
1858-
// this.renderItem(this.currentItemHash);
1859-
// }
1860-
// this.renderItems(this.cachedListings, true);
1861-
// },
1862-
1863-
// showBlockedUser: function(){
1864-
// this.$('.js-blockedWarning').fadeOut(300);
1865-
// $('#obContainer').removeClass('innerModalOpen');
1866-
// this.$('.js-mainContainer').removeClass('blurMore');
1867-
// },
1840+
},
18681841

18691842
remove: function(){
18701843
// close colorbox to make sure the overlay doesnt remain open when going to a different page

0 commit comments

Comments
 (0)