Merge branch 'develop' of https://github.com/syuilo/misskey into develop
This commit is contained in:
		
						commit
						9b91b92bca
					
				
					 8 changed files with 8 additions and 39 deletions
				
			
		|  | @ -1,18 +0,0 @@ | |||
| declare const fuckAdBlock: any; | ||||
| 
 | ||||
| export default ($root: any) => { | ||||
| 	require('fuckadblock'); | ||||
| 
 | ||||
| 	function adBlockDetected() { | ||||
| 		$root.dialog({ | ||||
| 			title: $root.$t('@.adblock.detected'), | ||||
| 			text: $root.$t('@.adblock.warning') | ||||
| 		}); | ||||
| 	} | ||||
| 
 | ||||
| 	if (fuckAdBlock === undefined) { | ||||
| 		adBlockDetected(); | ||||
| 	} else { | ||||
| 		fuckAdBlock.onDetected(adBlockDetected); | ||||
| 	} | ||||
| }; | ||||
|  | @ -18,7 +18,7 @@ | |||
| 				<div class="description" v-if="user.description" :title="user.description"> | ||||
| 					<mfm :text="user.description" :is-note="false" :author="user" :i="$store.state.i" :custom-emojis="user.emojis" :plain="true" :nowrap="true"/> | ||||
| 				</div> | ||||
| 				<mk-follow-button class="follow-button" v-if="$store.getters.isSignedIn && user.id != $store.state.i.id" :user="user" mini/> | ||||
| 				<mk-follow-button class="koudoku-button" v-if="$store.getters.isSignedIn && user.id != $store.state.i.id" :user="user" mini/> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 		<button class="more" :class="{ fetching: moreFetching }" v-if="more" @click="fetchMore()" :disabled="moreFetching"> | ||||
|  | @ -134,7 +134,7 @@ export default Vue.extend({ | |||
| 				font-size 14px | ||||
| 				padding-right 40px | ||||
| 
 | ||||
| 			> .follow-button | ||||
| 			> .koudoku-button | ||||
| 				position absolute | ||||
| 				top 8px | ||||
| 				right 0 | ||||
|  |  | |||
|  | @ -9,7 +9,6 @@ import VueRouter from 'vue-router'; | |||
| import './style.styl'; | ||||
| 
 | ||||
| import init from '../init'; | ||||
| import fuckAdBlock from '../common/scripts/fuck-ad-block'; | ||||
| import composeNotification from '../common/scripts/compose-notification'; | ||||
| 
 | ||||
| import MkHome from './views/home/home.vue'; | ||||
|  | @ -203,13 +202,6 @@ init(async (launch, os) => { | |||
| 	// Launch the app
 | ||||
| 	const [app, _] = launch(router); | ||||
| 
 | ||||
| 	if (os.store.getters.isSignedIn) { | ||||
| 		/** | ||||
| 		 * Fuck AD Block | ||||
| 		 */ | ||||
| 		fuckAdBlock(app); | ||||
| 	} | ||||
| 
 | ||||
| 	/** | ||||
| 	 * Init Notification | ||||
| 	 */ | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ | |||
| 				<p>{{ $t('followers') }}</p><span>{{ u.followersCount }}</span> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 		<mk-follow-button class="follow-button" v-if="$store.getters.isSignedIn && u.id != $store.state.i.id" :user="u" mini/> | ||||
| 		<mk-follow-button class="koudoku-button" v-if="$store.getters.isSignedIn && u.id != $store.state.i.id" :user="u" mini/> | ||||
| 	</template> | ||||
| </div> | ||||
| </template> | ||||
|  | @ -156,7 +156,7 @@ export default Vue.extend({ | |||
| 				font-size 1em | ||||
| 				color var(--primary) | ||||
| 
 | ||||
| 	> .follow-button | ||||
| 	> .koudoku-button | ||||
| 		position absolute | ||||
| 		top 8px | ||||
| 		right 8px | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue